display right account name, but only in slug form
This commit is contained in:
parent
c0fe47f2c1
commit
33c439a928
|
@ -29,6 +29,10 @@ Controller = Ember.Controller.extend
|
|||
|
||||
@set('allHooks', hooks)
|
||||
|
||||
accountName: (->
|
||||
@get('allHooks').get('firstObject.ownerName')
|
||||
).property('allHooks')
|
||||
|
||||
hooks: (->
|
||||
@reloadHooks() unless hooks = @get('allHooks')
|
||||
@get('allHooks').filter (hook) -> hook.get('admin')
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
{{/if}}
|
||||
|
||||
<div class="profile-header">
|
||||
<h1>{{user.name}}</h1>
|
||||
<h1>{{accountName}}</h1>
|
||||
</div>
|
||||
|
||||
{{#if user.isSyncing}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user