mirror of
https://github.com/nasa/openmct.git
synced 2024-12-18 20:57:53 +00:00
cherry-pick(6266): Imagery layer checkbox should match layer visiblity (#7003) Set layer visibility to false if layer visibility cannot be persisted
This commit is contained in:
parent
b043f26e49
commit
1423c23297
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user