Skip to content

Commit

Permalink
cherry-pick(#7122): [Staleness] Fix issue with object view staleness …
Browse files Browse the repository at this point in the history
…styles not being res… (#7123)

[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
  • Loading branch information
khalidadil committed Oct 6, 2023
1 parent 018a64e commit e43ddf6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ui/components/ObjectView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ export default {
this.initObjectStyles();
this.triggerStalenessSubscribe(this.domainObject);
}
this.setupClockChangedEvent((domainObject) => {
this.triggerUnsubscribeFromStaleness(domainObject);
this.subscribeToStaleness(domainObject);
});
},
methods: {
clear() {
Expand Down

0 comments on commit e43ddf6

Please sign in to comment.