mirror of
https://github.com/nasa/openmct.git
synced 2024-12-24 07:16:39 +00:00
Changed global time to use time context current value for ITC (#7191)
Co-authored-by: Jamie V <jamie.j.vigliotta@nasa.gov> Co-authored-by: Jesse Mazzella <ozyx@users.noreply.github.com>
This commit is contained in:
parent
deacd91078
commit
7f8262b882
@ -209,7 +209,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