Skip to content

Commit 97072b5

Browse files
committed
Merge branch 'feat/save_and_load' of https://github.com/Geode-solutions/OpenGeodeWeb-Front into feat/save_and_load
2 parents ea63e2b + af41f9d commit 97072b5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

stores/app.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@ export const useAppStore = defineStore("app", () => {
1515
stores.push(store)
1616
}
1717

18-
1918
function exportStore() {
2019
const snapshot = {}
2120
let exportCount = 0
2221

2322
for (const store of stores) {
24-
if (!store.exportStore) {
23+
if (!store.exportStore) {
2524
continue
2625
}
2726
const storeId = store.$id
@@ -36,7 +35,6 @@ export const useAppStore = defineStore("app", () => {
3635
return snapshot
3736
}
3837

39-
4038
async function importStore(snapshot) {
4139
if (!snapshot) {
4240
console.warn("[AppStore] import called with invalid snapshot")

0 commit comments

Comments
 (0)