Skip to content

Commit 3d89884

Browse files
MaxNumeriquegithub-actions[bot]
authored andcommitted
Apply prepare changes
1 parent 32611bb commit 3d89884

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

stores/data_style.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,15 @@ export const useDataStyleStore = defineStore("dataStyle", () => {
2222
}
2323
const { object_type } = meta
2424
if (object_type === "mesh") {
25-
return Promise.all([meshStyleStore.setMeshVisibility(id, visibility)]).then(() => {
25+
return Promise.all([
26+
meshStyleStore.setMeshVisibility(id, visibility),
27+
]).then(() => {
2628
hybridViewerStore.remoteRender()
2729
})
2830
} else if (object_type === "model") {
29-
return Promise.all([modelStyleStore.setModelVisibility(id, visibility)]).then(() => {
31+
return Promise.all([
32+
modelStyleStore.setModelVisibility(id, visibility),
33+
]).then(() => {
3034
hybridViewerStore.remoteRender()
3135
})
3236
}

tests/integration/microservices/viewer/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@
55
# pip-compile --output-file=tests/integration/microservices/viewer/requirements.txt tests/integration/microservices/viewer/requirements.in
66
#
77

8-
opengeodeweb-viewer==1.*,>=1.11.9

utils/file_import_workflow.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ async function importItemFromSnapshot(
115115
}
116116

117117
await dataStyleStore.applyDefaultStyle(item.id)
118-
hybridViewerStore.remoteRender()
119-
return item.id
118+
hybridViewerStore.remoteRender()
119+
return item.id
120120
}
121121

122122
async function importWorkflowFromSnapshot(items) {

0 commit comments

Comments
 (0)