mirror of
https://github.com/nasa/openmct.git
synced 2025-05-03 01:02:52 +00:00
Fix bug with telemetry disappearing
This commit is contained in:
parent
8f05c57d1a
commit
09bfd80f69
@ -109,7 +109,7 @@ export default {
|
|||||||
if(this.conditionManager) {
|
if(this.conditionManager) {
|
||||||
this.conditionManager.destroy();
|
this.conditionManager.destroy();
|
||||||
}
|
}
|
||||||
if (typeof this.stopObservingForChanges === 'function') {
|
if (this.stopObservingForChanges) {
|
||||||
this.stopObservingForChanges();
|
this.stopObservingForChanges();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -124,8 +124,8 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
observeForChanges() {
|
observeForChanges() {
|
||||||
this.stopObservingForChanges = this.openmct.objects.observe(this.domainObject, 'configuration.conditionCollection', (newConditionCollection) => {
|
this.stopObservingForChanges = this.openmct.objects.observe(this.domainObject, '*', (newDomainObject) => {
|
||||||
this.conditionCollection = newConditionCollection;
|
this.conditionCollection = newDomainObject.configuration.conditionCollection;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
setMoveIndex(index) {
|
setMoveIndex(index) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user