mirror of
https://github.com/nasa/openmct.git
synced 2025-01-02 03:16:41 +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) {
|
||||
this.conditionManager.destroy();
|
||||
}
|
||||
if (typeof this.stopObservingForChanges === 'function') {
|
||||
if (this.stopObservingForChanges) {
|
||||
this.stopObservingForChanges();
|
||||
}
|
||||
},
|
||||
@ -124,8 +124,8 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
observeForChanges() {
|
||||
this.stopObservingForChanges = this.openmct.objects.observe(this.domainObject, 'configuration.conditionCollection', (newConditionCollection) => {
|
||||
this.conditionCollection = newConditionCollection;
|
||||
this.stopObservingForChanges = this.openmct.objects.observe(this.domainObject, '*', (newDomainObject) => {
|
||||
this.conditionCollection = newDomainObject.configuration.conditionCollection;
|
||||
});
|
||||
},
|
||||
setMoveIndex(index) {
|
||||
|
Loading…
Reference in New Issue
Block a user