Commit 68ef114f authored by Alfredo Sumaran's avatar Alfredo Sumaran

Display error message if user load fails.

parent 9d84e5e8
...@@ -66,6 +66,8 @@ ...@@ -66,6 +66,8 @@
this.getUsers(query).done((response) => { this.getUsers(query).done((response) => {
let data = this.consolidateData(response); let data = this.consolidateData(response);
callback(data); callback(data);
}).error(() => {
new Flash('Failed to load users.');
}); });
} }
......
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