Commit 331f026a authored by tiagonbotelho's avatar tiagonbotelho

gets the new object through /simple endpoint and renders on the dropdown

parent a8cf4e13
......@@ -3,7 +3,7 @@
groupPath: "/api/:version/groups/:id.json"
namespacesPath: "/api/:version/namespaces.json"
groupProjectsPath: "/api/:version/groups/:id/projects.json"
projectsPath: "/api/:version/projects.json"
projectsPath: "/api/:version/projects/simple.json"
labelsPath: "/api/:version/projects/:id/labels"
licensePath: "/api/:version/licenses/:key"
gitignorePath: "/api/:version/gitignores/:key"
......
......@@ -123,6 +123,7 @@ class GitLabDropdownRemote
# Fetch the data by calling the data funcfion
@dataEndpoint "", (data) =>
console.log(data)
if @options.success
@options.success(data)
......
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