We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea63e2b + af41f9d commit 97072b5Copy full SHA for 97072b5
stores/app.js
@@ -15,13 +15,12 @@ export const useAppStore = defineStore("app", () => {
15
stores.push(store)
16
}
17
18
-
19
function exportStore() {
20
const snapshot = {}
21
let exportCount = 0
22
23
for (const store of stores) {
24
- if (!store.exportStore) {
+ if (!store.exportStore) {
25
continue
26
27
const storeId = store.$id
@@ -36,7 +35,6 @@ export const useAppStore = defineStore("app", () => {
36
35
return snapshot
37
38
39
40
async function importStore(snapshot) {
41
if (!snapshot) {
42
console.warn("[AppStore] import called with invalid snapshot")
0 commit comments