Fix error handling in dashboard

This commit is contained in:
Dane Everitt 2018-06-11 20:42:01 -07:00
parent f971cdf9ca
commit e5e66fdb58
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -98,7 +98,7 @@
console.error(err);
const response = err.response;
if (response.data && _.isObject(response.data.errors)) {
response.data.errors.forEach(function (error) {
response.data.errors.forEach(error => {
this.error(error.detail);
});
}