Skip to content

Commit 9ae7357

Browse files
committed
Merge branch 'feat/save_and_load' of https://github.com/Geode-solutions/OpenGeodeWeb-Front into feat/save_and_load
2 parents 7b57603 + b1a9353 commit 9ae7357

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

stores/app.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@ export const useAppStore = defineStore("app", () => {
4141
console.warn("[AppStore] import called with invalid snapshot")
4242
return
4343
}
44-
console.log(
45-
"[AppStore] Import snapshot keys:",
46-
Object.keys(snapshot || {}),
47-
)
44+
console.log("[AppStore] Import snapshot keys:", Object.keys(snapshot || {}))
4845

4946
let importedCount = 0
5047
const notFoundStores = []

stores/data_style.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ export const useDataStyleStore = defineStore("dataStyle", () => {
9090

9191
async function importStores(snapshot) {
9292
const stylesSnapshot = snapshot?.styles || {}
93-
console.log("[DataStyle] importStores snapshot ids:", Object.keys(stylesSnapshot))
93+
console.log(
94+
"[DataStyle] importStores snapshot ids:",
95+
Object.keys(stylesSnapshot),
96+
)
9497

9598
// Conserver la référence réactive -> clear + merge
9699
for (const id of Object.keys(dataStyleState.styles)) delete dataStyleState.styles[id]

0 commit comments

Comments
 (0)