mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 10:54:46 +02:00
Fix error handling in dashboard
This commit is contained in:
parent
f971cdf9ca
commit
e5e66fdb58
@ -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);
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user