Another CS style fix

This commit is contained in:
Phil Hughes 2016-03-18 10:14:39 +00:00
parent e8d52499db
commit c51af604e5

View file

@ -56,7 +56,7 @@ class @UsersSelect
selectable: true
fieldName: $dropdown.data('field-name')
toggleLabel: (selected) ->
if selected && selected.id?
if selected && 'id' of selected
selected.name
else
defaultLabel