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

fixed admin_email_select

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