Skip to content

Commit

Permalink
Changed global time to use time context current value for ITC (#7191)
Browse files Browse the repository at this point in the history
Co-authored-by: Jamie V <jamie.j.vigliotta@nasa.gov>
Co-authored-by: Jesse Mazzella <ozyx@users.noreply.github.com>
  • Loading branch information
3 people committed Nov 13, 2023
1 parent deacd91 commit 7f8262b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/timeConductor/ConductorInputsRealtime.vue
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,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);
Expand Down

0 comments on commit 7f8262b

Please sign in to comment.