Disable remove log button on pro for now

This commit is contained in:
Piotr Sarnacki 2015-01-12 14:22:48 +01:00
parent 1e8daa3e2c
commit f7b2f0cbf1

View File

@ -292,6 +292,7 @@ Travis.reopen
).property('displayRemoveLog')
displayRemoveLog: (->
return if Travis.config.pro
if job = @get('_job')
(@get('isJobTab') || (@get('isBuildTab') && @get('build.jobs.length') == 1)) &&
job.get('canRemoveLog') && @get('hasPermission')