Try to fix error on setting duration when record is reloading
This commit is contained in:
parent
6e632f7033
commit
2537daf0eb
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue
Block a user