[TC] Update format on timesystem change
Update the format when the timesystem changes. Fixes https://github.com/nasa/openmct/issues/1585
This commit is contained in:
@@ -406,6 +406,7 @@ define(
|
|||||||
var config = this.getConfig(timeSystem, clock);
|
var config = this.getConfig(timeSystem, clock);
|
||||||
|
|
||||||
this.$scope.timeSystemModel.selected = timeSystem;
|
this.$scope.timeSystemModel.selected = timeSystem;
|
||||||
|
this.$scope.timeSystemModel.format = timeSystem.timeFormat;
|
||||||
|
|
||||||
if (clock === undefined) {
|
if (clock === undefined) {
|
||||||
this.timeAPI.timeSystem(timeSystem, config.bounds);
|
this.timeAPI.timeSystem(timeSystem, config.bounds);
|
||||||
|
|||||||
Reference in New Issue
Block a user