spacing control

This commit is contained in:
Burak Civan 2022-07-25 11:36:49 +03:00
parent 9b8e9d6816
commit e0671835e9

View File

@ -655,19 +655,18 @@ const app = new Vue({
if (response.data.success) { if (response.data.success) {
if (response.data.redirect) { if (response.data.redirect) {
this.form.loading = true; this.form.loading = true;
window.location.href = response.data.redirect; window.location.href = response.data.redirect;
} }
} }
if (response.data.error) { if (response.data.error) {
this.form.loading = false; this.form.loading = false;
this.form.response = response.data; this.form.response = response.data;
} }
}) })
.catch(error => { .catch(error => {
this.form.loading = false; this.form.loading = false;
this.form.onFail(error); this.form.onFail(error);
this.method_show_html = error.message; this.method_show_html = error.message;
@ -772,6 +771,7 @@ const app = new Vue({
if (response.data.success) { if (response.data.success) {
if (response.data.redirect) { if (response.data.redirect) {
this.form.loading = true; this.form.loading = true;
window.location.href = response.data.redirect; window.location.href = response.data.redirect;
} }
} }