Commit e3b5912d authored by tiagonbotelho's avatar tiagonbotelho

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

parent 54a234b9
......@@ -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"
......
......@@ -122,6 +122,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