timo/feat-rolling #9
@@ -73,7 +73,7 @@ export const useLoginState = defineStore(
|
|||||||
persist: {
|
persist: {
|
||||||
key: 'xsh_assistant_persisted_state',
|
key: 'xsh_assistant_persisted_state',
|
||||||
storage: piniaPluginPersistedstate.localStorage(),
|
storage: piniaPluginPersistedstate.localStorage(),
|
||||||
paths: ['is_logged_in', 'token', 'user'],
|
pick: ['is_logged_in', 'token', 'user'],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ export const useTourState = defineStore(
|
|||||||
persist: {
|
persist: {
|
||||||
key: 'xsh_assistant_tour_state',
|
key: 'xsh_assistant_tour_state',
|
||||||
storage: piniaPluginPersistedstate.localStorage(),
|
storage: piniaPluginPersistedstate.localStorage(),
|
||||||
paths: ['tourState'],
|
pick: ['tourState'],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user