提交 331f026a 编写于 作者: T tiagonbotelho

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

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册