Disable remove log button for now

This commit is contained in:
Piotr Sarnacki 2015-01-08 17:11:48 +01:00
parent cc7fef21ca
commit 7959442a99

View File

@ -283,8 +283,9 @@ Travis.reopen
).property('displayRemoveLog', 'hasPermission')
displayRemoveLog: (->
(@get('isJobTab') || (@get('isBuildTab') && @get('build.jobs.length') == 1)) &&
@get('build.jobs').objectAt(0).get?('canRemoveLog')
#(@get('isJobTab') || (@get('isBuildTab') && @get('build.jobs.length') == 1)) &&
# @get('build.jobs').objectAt(0).get?('canRemoveLog')
false
).property('isJobTab', 'isBuildTab', 'build.jobs.length', 'job.canRemoveLog')
canCancelBuild: (->