Allow to cancel jobs after they're started
This commit is contained in:
parent
0217b20943
commit
c9e677fd86
|
@ -73,7 +73,7 @@ require 'travis/model'
|
|||
).property('config', 'build.rawConfigKeys.length')
|
||||
|
||||
canCancel: (->
|
||||
@get('state') == 'created'
|
||||
!@get('isFinished')
|
||||
).property('state')
|
||||
|
||||
cancel: (->
|
||||
|
|
Loading…
Reference in New Issue
Block a user