mirror of
https://github.com/nasa/openmct.git
synced 2025-02-21 01:42:31 +00:00
[Staleness] Fix issue with object view staleness styles not being reset on clock change (#7122)
Add logic to un/re-subscribe when clock changes to object view
This commit is contained in:
parent
084784a409
commit
6b32c63039
@ -139,6 +139,10 @@ export default {
|
||||
this.initObjectStyles();
|
||||
this.triggerStalenessSubscribe(this.domainObject);
|
||||
}
|
||||
this.setupClockChangedEvent((domainObject) => {
|
||||
this.triggerUnsubscribeFromStaleness(domainObject);
|
||||
this.subscribeToStaleness(domainObject);
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
clear() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user