Try to show email address if no name exists.
This commit is contained in:
parent
f7b79bf40a
commit
0f758886f4
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,8 @@ class App.Model extends Spine.Model
|
|||
name = name + ' '
|
||||
name = name + @lastname
|
||||
return name
|
||||
if @email
|
||||
return @email
|
||||
return '???'
|
||||
|
||||
displayNameLong: ->
|
||||
|
|
Loading…
Reference in a new issue