Skip to content

Commit f01890f

Browse files
MaxNumeriquegithub-actions[bot]
authored andcommitted
Apply prepare changes
1 parent 9866872 commit f01890f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

composables/project_manager.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import back_schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.jso
22
import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json"
33
import fileDownload from "js-file-download"
44

5-
65
export function useProjectManager() {
76
const geode = useGeodeStore()
87
const appStore = useAppStore()

stores/data_style.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ export const useDataStyleStore = defineStore("dataStyle", () => {
3131
const id =
3232
typeof payloadOrId === "string"
3333
? payloadOrId
34-
: payloadOrId?.id ?? payloadOrId?.data_id ?? payloadOrId?.model_id
34+
: (payloadOrId?.id ?? payloadOrId?.data_id ?? payloadOrId?.model_id)
3535
if (!id) return Promise.resolve([])
3636

3737
const visible =
3838
typeof visibility === "boolean"
3939
? visibility
4040
: payloadOrId?.visible != null
41-
? !!payloadOrId.visible
42-
: true
41+
? !!payloadOrId.visible
42+
: true
4343

4444
const meta = dataBaseStore.itemMetaDatas(id)
4545
const object_type = meta?.object_type

0 commit comments

Comments
 (0)