mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 05:37:53 +00:00
Time context get clock
This commit is contained in:
parent
6c46f7a87f
commit
7cf45ccce6
@ -210,7 +210,7 @@ export default {
|
||||
this.formattedBounds.end = this.timeFormatter.format(bounds.end);
|
||||
},
|
||||
updateCurrentValue() {
|
||||
const currentValue = this.openmct.time.getClock()?.currentValue();
|
||||
const currentValue = this.timeContext.getClock().currentValue();
|
||||
|
||||
if (currentValue !== undefined) {
|
||||
this.setCurrentValue(currentValue);
|
||||
|
Loading…
Reference in New Issue
Block a user