Skip to content

Commit

Permalink
cherry-pick(#7003): Imagery layer checkbox should match layer visibil…
Browse files Browse the repository at this point in the history
…ity (#7004)

cherry-pick(6266): Imagery layer checkbox should match layer visiblity (#7003)

Set layer visibility to false if layer visibility cannot be persisted
  • Loading branch information
shefalijoshi committed Aug 28, 2023
1 parent b043f26 commit 1423c23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/imagery/components/ImageryView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,7 @@ export default {
if (this.domainObject.configuration) {
const persistedLayers = this.domainObject.configuration.layers;
if (!persistedLayers) {
this.layers.forEach((layer) => (layer.visible = false));
return;
}
Expand Down

0 comments on commit 1423c23

Please sign in to comment.