fix: init local persistence
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
|||||||
watch,
|
watch,
|
||||||
defineComponent,
|
defineComponent,
|
||||||
} from "@nuxtjs/composition-api"
|
} from "@nuxtjs/composition-api"
|
||||||
|
import { setupLocalPersistence } from "~/newstore/localpersistence"
|
||||||
import { useSetting } from "~/newstore/settings"
|
import { useSetting } from "~/newstore/settings"
|
||||||
|
|
||||||
function updateThemes() {
|
function updateThemes() {
|
||||||
@@ -40,5 +41,8 @@ export default defineComponent({
|
|||||||
setup() {
|
setup() {
|
||||||
updateThemes()
|
updateThemes()
|
||||||
},
|
},
|
||||||
|
beforeMount() {
|
||||||
|
setupLocalPersistence()
|
||||||
|
},
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -18,7 +18,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- <SmartSpinner v-if="loading" />
|
<!-- <SmartSpinner v-if="loading" />
|
||||||
<SmartLoadingIndicator v-else />
|
<SmartLoadingIndicator v-else />
|
||||||
<pre v-if="error">{{ error }}</pre> -->
|
<pre v-if="error">{{ error }}</pre>
|
||||||
|
TODO: revoked invite link -->
|
||||||
<FirebaseLogin :show="showLogin" @hide-modal="showLogin = false" />
|
<FirebaseLogin :show="showLogin" @hide-modal="showLogin = false" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
Reference in New Issue
Block a user