Kill typo 💣
This commit is contained in:
parent
5b0b7d7002
commit
8f27943fe4
|
@ -145,8 +145,8 @@
|
|||
).property('build.state', 'hasPermission', 'tab')
|
||||
|
||||
canRegenerateKey: (->
|
||||
@get('hasPermissions')
|
||||
).property('hasPermissions')
|
||||
@get('hasPermission')
|
||||
).property('hasPermission')
|
||||
|
||||
canCancelJob: (->
|
||||
@get('isJobTab') && @get('job.canCancel') && @get('hasPermission')
|
||||
|
@ -163,7 +163,7 @@
|
|||
|
||||
hasPermission: (->
|
||||
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')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user