From b600bb94af6f33d34fa57f4145b89f268d2bb99d Mon Sep 17 00:00:00 2001 From: Burak Civan Date: Mon, 25 Jul 2022 11:38:03 +0300 Subject: [PATCH] spacing control --- resources/assets/js/views/common/documents.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/js/views/common/documents.js b/resources/assets/js/views/common/documents.js index d6d577465..d0128929b 100644 --- a/resources/assets/js/views/common/documents.js +++ b/resources/assets/js/views/common/documents.js @@ -667,6 +667,7 @@ const app = new Vue({ }) .catch(error => { this.form.loading = false; + this.form.onFail(error); this.method_show_html = error.message; @@ -771,7 +772,6 @@ const app = new Vue({ if (response.data.success) { if (response.data.redirect) { this.form.loading = true; - window.location.href = response.data.redirect; } }