Don't refresh duration when record is loading
This commit is contained in:
parent
d65f733f28
commit
dddf66b8cf
|
@ -7,6 +7,6 @@ Travis.DurationCalculations = Ember.Mixin.create
|
|||
).property('_duration', 'finishedAt', 'startedAt')
|
||||
|
||||
updateTimes: ->
|
||||
if @get('stateManager.currentState.path') != 'rootState.loaded.reloading'
|
||||
unless ['rootState.loaded.reloading', 'rootState.loading'].contains @get('stateManager.currentState.path')
|
||||
@notifyPropertyChange '_duration'
|
||||
@notifyPropertyChange 'finished_at'
|
||||
|
|
Loading…
Reference in New Issue
Block a user