diff options
author | Phil Hughes <me@iamphill.com> | 2016-03-18 10:14:39 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-03-18 11:42:15 +0000 |
commit | c51af604e5bfdb33eb3d46ff2073066d10bce05d (patch) | |
tree | be25bcfa0c32510134d6960c5fd6706eea48b243 | |
parent | e8d52499db51021096d4b91596e4a207f4f5e62d (diff) | |
download | gitlab-ce-c51af604e5bfdb33eb3d46ff2073066d10bce05d.tar.gz |
Another CS style fixissue-fade-load
-rw-r--r-- | app/assets/javascripts/users_select.js.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/users_select.js.coffee b/app/assets/javascripts/users_select.js.coffee index 0e950146176..48831dd6bc4 100644 --- a/app/assets/javascripts/users_select.js.coffee +++ b/app/assets/javascripts/users_select.js.coffee @@ -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 |