Added Tempstore Saving

This commit is contained in:
2025-11-08 18:56:21 +01:00
parent 10b29c336a
commit 3a0c0fc9a7
2 changed files with 42 additions and 1 deletions

View File

@@ -17,6 +17,10 @@ export const useAuthStore = defineStore("auth", {
async init(token) {
await this.fetchMe(token)
const tempStore = useTempStore()
if(this.profile.temp_config) tempStore.setStoredTempConfig(this.profile.temp_config)
if(useCapacitor().getIsNative()) {
navigateTo("/mobile")
} else {