Kill typo 💣

This commit is contained in:
Piotr Sarnacki 2012-12-10 14:57:34 +01:00
parent 5b0b7d7002
commit 8f27943fe4

View File

@ -145,8 +145,8 @@
).property('build.state', 'hasPermission', 'tab') ).property('build.state', 'hasPermission', 'tab')
canRegenerateKey: (-> canRegenerateKey: (->
@get('hasPermissions') @get('hasPermission')
).property('hasPermissions') ).property('hasPermission')
canCancelJob: (-> canCancelJob: (->
@get('isJobTab') && @get('job.canCancel') && @get('hasPermission') @get('isJobTab') && @get('job.canCancel') && @get('hasPermission')
@ -163,7 +163,7 @@
hasPermission: (-> hasPermission: (->
if permissions = Travis.app.get('currentUser.permissions') if permissions = Travis.app.get('currentUser.permissions')
permissions.indexOf(@get('repo.id')) > -1 permissions.contains @get('repo.id')
).property('Travis.app.currentUser.permissions.length', 'repo.id') ).property('Travis.app.currentUser.permissions.length', 'repo.id')