diff --git a/resources/assets/scripts/components/dashboard/Dashboard.vue b/resources/assets/scripts/components/dashboard/Dashboard.vue index ca3a5555a..575b77006 100644 --- a/resources/assets/scripts/components/dashboard/Dashboard.vue +++ b/resources/assets/scripts/components/dashboard/Dashboard.vue @@ -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); }); }