[Timers] Fix bug in FollowIndicator

...by expecting new-style instead of legacy domain objects.
Fixes #1836
This commit is contained in:
Victor Woeltjen
2017-12-18 13:28:05 -08:00
parent 2390278b97
commit 8da74f2665
2 changed files with 5 additions and 8 deletions

View File

@@ -45,7 +45,7 @@ define(
FollowIndicator.prototype.getText = function () {
var timer = this.timerService.getTimer();
return (timer) ? 'Following timer ' + timer.getModel().name : NO_TIMER;
return timer ? ('Following timer ' + timer.name) : NO_TIMER;
};
FollowIndicator.prototype.getDescription = function () {