Added Tempstore Saving
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user