Commit 3102454a authored by Douwe Maan's avatar Douwe Maan

Don't show Unassigned in user select when searching.

parent 2f4656b5
...@@ -11,6 +11,7 @@ class @ProjectUsersSelect ...@@ -11,6 +11,7 @@ class @ProjectUsersSelect
Api.projectUsers project_id, query.term, (users) -> Api.projectUsers project_id, query.term, (users) ->
data = { results: users } data = { results: users }
if query.term.length == 0
nullUser = { nullUser = {
name: 'Unassigned', name: 'Unassigned',
avatar: null, avatar: null,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment