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')
|
).property('config', 'build.rawConfigKeys.length')
|
||||||
|
|
||||||
canCancel: (->
|
canCancel: (->
|
||||||
@get('state') == 'created'
|
!@get('isFinished')
|
||||||
).property('state')
|
).property('state')
|
||||||
|
|
||||||
cancel: (->
|
cancel: (->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user