Fix duration being incremented after a build/job is finished
This commit is contained in:
parent
1a0e378732
commit
c1dcaa2715
|
@ -7,6 +7,6 @@ Travis.DurationCalculations = Ember.Mixin.create
|
|||
).property('_duration', 'finishedAt', 'startedAt')
|
||||
|
||||
updateTimes: ->
|
||||
unless ['rootState.loaded.reloading', 'rootState.loading'].contains @get('stateManager.currentState.path')
|
||||
unless ['rootState.loaded.reloading', 'rootState.loading'].contains @get('stateManager.currentState.path') or @get('isFinished')
|
||||
@notifyPropertyChange '_duration'
|
||||
@notifyPropertyChange 'finished_at'
|
||||
|
|
Loading…
Reference in New Issue
Block a user