Try to fix error on setting duration when record is reloading

This commit is contained in:
Piotr Sarnacki 2013-03-28 23:42:32 +01:00
parent 6e632f7033
commit 2537daf0eb

View File

@ -7,5 +7,6 @@ Travis.DurationCalculations = Ember.Mixin.create
).property('_duration', 'finishedAt', 'startedAt')
updateTimes: ->
@notifyPropertyChange '_duration'
@notifyPropertyChange 'finished_at'
if @get('stateManager.currentState.path') != 'rootState.loaded.reloading'
@notifyPropertyChange '_duration'
@notifyPropertyChange 'finished_at'