mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 13:43:09 +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);
|
this.formattedBounds.end = this.timeFormatter.format(bounds.end);
|
||||||
},
|
},
|
||||||
updateCurrentValue() {
|
updateCurrentValue() {
|
||||||
const currentValue = this.openmct.time.getClock()?.currentValue();
|
const currentValue = this.timeContext.getClock().currentValue();
|
||||||
|
|
||||||
if (currentValue !== undefined) {
|
if (currentValue !== undefined) {
|
||||||
this.setCurrentValue(currentValue);
|
this.setCurrentValue(currentValue);
|
||||||
|
Loading…
Reference in New Issue
Block a user