From e5e66fdb583f583839e23453a21a315336734d05 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Mon, 11 Jun 2018 20:42:01 -0700 Subject: [PATCH] Fix error handling in dashboard --- resources/assets/scripts/components/dashboard/Dashboard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }); }