diff --git a/assets/scripts/app/views/repo/show.coffee b/assets/scripts/app/views/repo/show.coffee index 399a9a9d..4d9e5e41 100644 --- a/assets/scripts/app/views/repo/show.coffee +++ b/assets/scripts/app/views/repo/show.coffee @@ -141,17 +141,19 @@ ).property('isJobTab', 'job.isFinished', 'hasPermissions') canCancelBuild: (-> - @get('isBuildTab') && @get('build.canCancel') && @get('hasPermission') + # @get('isBuildTab') && @get('build.canCancel') && @get('hasPermission') + false ).property('build.state', 'hasPermission', 'tab') + canCancelJob: (-> + # @get('isJobTab') && @get('job.canCancel') && @get('hasPermission') + false + ).property('job.state', 'hasPermission', 'tab') + canRegenerateKey: (-> @get('hasPermission') ).property('hasPermission') - canCancelJob: (-> - @get('isJobTab') && @get('job.canCancel') && @get('hasPermission') - ).property('job.state', 'hasPermission', 'tab') - isJobTab: (-> @get('tab') == 'job'