ui_migration chore(eslint) clean
This commit is contained in:
parent
e59e99b2f3
commit
793441aadf
3 changed files with 4 additions and 16 deletions
|
|
@ -68,7 +68,7 @@
|
||||||
:tab-i-d="item.id"
|
:tab-i-d="item.id"
|
||||||
:require-connection="true"
|
:require-connection="true"
|
||||||
:current-tab="currentTab"
|
:current-tab="currentTab"
|
||||||
>
|
>
|
||||||
<component :is="item.component" @scroll-top="scrollToTop"></component>
|
<component :is="item.component" @scroll-top="scrollToTop"></component>
|
||||||
</tabContent>
|
</tabContent>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -82,15 +82,8 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(useSettingsStore, [
|
...mapState(useSettingsStore, ["origin", "microscopeHostname", "available", "waiting"]),
|
||||||
"origin",
|
...mapState(useWotStore, ["thingDescriptions"]),
|
||||||
"microscopeHostname",
|
|
||||||
"available",
|
|
||||||
"waiting",
|
|
||||||
] ),
|
|
||||||
...mapState(useWotStore, [
|
|
||||||
"thingDescriptions",
|
|
||||||
]),
|
|
||||||
...mapWritableState(useSettingsStore, ["error"]),
|
...mapWritableState(useSettingsStore, ["error"]),
|
||||||
|
|
||||||
cameraType() {
|
cameraType() {
|
||||||
|
|
|
||||||
|
|
@ -99,12 +99,7 @@ export const useSettingsStore = defineStore(
|
||||||
{
|
{
|
||||||
// PiniaPluginPersistedState will now automatically persist ONLY these specific refs to localStorage
|
// PiniaPluginPersistedState will now automatically persist ONLY these specific refs to localStorage
|
||||||
persist: {
|
persist: {
|
||||||
paths: [
|
paths: ["appTheme", "disableStream", "navigationStepSize", "navigationInvert"],
|
||||||
"appTheme",
|
|
||||||
"disableStream",
|
|
||||||
"navigationStepSize",
|
|
||||||
"navigationInvert",
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue