Received state should also indicate not started build
This commit is contained in:
parent
ae7586c121
commit
405cdd3dae
|
@ -51,7 +51,7 @@ Build = Model.extend DurationCalculations,
|
||||||
).property('state')
|
).property('state')
|
||||||
|
|
||||||
notStarted: (->
|
notStarted: (->
|
||||||
@get('state') in ['queued', 'created']
|
@get('state') in ['queued', 'created', 'received']
|
||||||
).property('state')
|
).property('state')
|
||||||
|
|
||||||
startedAt: (->
|
startedAt: (->
|
||||||
|
|
|
@ -62,7 +62,7 @@ Job = Model.extend DurationCalculations,
|
||||||
).property('state')
|
).property('state')
|
||||||
|
|
||||||
notStarted: (->
|
notStarted: (->
|
||||||
@get('state') in ['queued', 'created']
|
@get('state') in ['queued', 'created', 'received']
|
||||||
).property('state')
|
).property('state')
|
||||||
|
|
||||||
clearLog: ->
|
clearLog: ->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user