Skip to content

Commit

Permalink
same as: #612
Browse files Browse the repository at this point in the history
  • Loading branch information
Raruto committed Apr 15, 2024
1 parent a7846e1 commit dd51eef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/GlobalTabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
async created() {
this.unwatch = [];

for (const tab of this.tabs) {
this.tabs.forEach((tab , i) => {

if (tab.visibility_expression && undefined === tab.visible) {
this.$set(tab, 'visible', 0);
Expand Down Expand Up @@ -272,7 +272,7 @@

this.ids.push(`tab_${getUniqueDomId()}`);

}
});

this.root_tabs = [];

Expand Down
3 changes: 2 additions & 1 deletion src/components/QueryResults.vue
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,8 @@
},

getLayerFormStructure(layer) {
return layer.formStructure.structure;
//need to clone structure objects in deep and set reactive with Vue.observable
return layer.formStructure.structure.map(n => Vue.observable(structuredClone(n)));
},

isAttributeOrTab(layer, item) {
Expand Down

0 comments on commit dd51eef

Please sign in to comment.