Commit 3e7ac921 authored by Phil Hughes's avatar Phil Hughes

fixed admin_email_select

parent 6a07c1a4
......@@ -57,7 +57,7 @@ const Api = {
},
// Return projects list. Filtered by query
projects(query, options, callback) {
projects(query, options, callback = $.noop) {
const url = Api.buildUrl(Api.projectsPath);
const defaults = {
search: query,
......
......@@ -18,7 +18,7 @@ function AdminEmailSelect() {
order_by: 'id',
membership: false
});
return Promise.all([projectsFetch, groupsFetch]).done(function([projects, groups]) {
return Promise.all([projectsFetch, groupsFetch]).then(function([projects, groups]) {
var all, data;
all = {
id: "all"
......
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