use data from model like Piotr said
This commit is contained in:
parent
33c439a928
commit
6ef0c1af96
|
@ -30,8 +30,8 @@ Controller = Ember.Controller.extend
|
|||
@set('allHooks', hooks)
|
||||
|
||||
accountName: (->
|
||||
@get('allHooks').get('firstObject.ownerName')
|
||||
).property('allHooks')
|
||||
@get('model.name') || @get('model.login')
|
||||
).property('model.name', 'model.login')
|
||||
|
||||
hooks: (->
|
||||
@reloadHooks() unless hooks = @get('allHooks')
|
||||
|
|
Loading…
Reference in New Issue
Block a user