Skip to content
Snippets Groups Projects
Commit 139c255a authored by Phil Hughes's avatar Phil Hughes Committed by Jacob Schatz
Browse files

Fixed JS error that was failing the builds

parent cf0c6e87
Branches
Tags
1 merge request!3175Updates sidebar to use new dropdowns for issues and merge requests
Loading
@@ -2,6 +2,7 @@ class @UsersSelect
Loading
@@ -2,6 +2,7 @@ class @UsersSelect
constructor: (currentUser) -> constructor: (currentUser) ->
@usersPath = "/autocomplete/users.json" @usersPath = "/autocomplete/users.json"
@userPath = "/autocomplete/users/:id.json" @userPath = "/autocomplete/users/:id.json"
if currentUser?
@currentUser = JSON.parse(currentUser) @currentUser = JSON.parse(currentUser)
   
$('.js-user-search').each (i, dropdown) => $('.js-user-search').each (i, dropdown) =>
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment