Skip to content

Commit 3d05fb9

Browse files
committed
Merge branch 'fix/ContextMenu' of https://github.com/Geode-solutions/OpenGeodeWeb-Front into fix/ContextMenu
2 parents f3e5848 + c9bfc05 commit 3d05fb9

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

app/stores/data.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ export const useDataStore = defineStore("data", () => {
2020
}
2121

2222
function refItem(id) {
23-
if (!id) {
24-
return ref({})
25-
}
2623
return useObservable(
2724
liveQuery(() => database.data.get(id)),
2825
{ initialValue: {} },

0 commit comments

Comments
 (0)