mirror of
https://github.com/nasa/openmct.git
synced 2025-04-14 06:26:44 +00:00
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
244e3b7938
commit
a8678aa739
@ -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…
x
Reference in New Issue
Block a user