Skip to content

Commit

Permalink
Fixed loss of time system options on navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
akhenry committed Aug 4, 2016
1 parent 6b482d4 commit 25b9f37
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@ define(
$scope.formModel.startDelta = deltas.start;
$scope.formModel.endDelta = deltas.end;
}

// Show filtered list of time systems available for the
// current mode
var tickSourceType = this.modes[mode.key()].tickSourceType;
$scope.timeSystemModel.options = this.timeSystemsForSourceType(tickSourceType).map(function (t) {
return t.metadata;
});
} else {
// Default to fixed mode
this.setMode('fixed');
Expand Down

0 comments on commit 25b9f37

Please sign in to comment.