From dca6f0b965197ec1037ec3d3c7079cdc4f797bfc Mon Sep 17 00:00:00 2001 From: Burak Civan Date: Thu, 3 Jun 2021 10:57:45 +0300 Subject: [PATCH] Delete button bugfix edited --- resources/assets/js/mixins/wizardAction.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/assets/js/mixins/wizardAction.js b/resources/assets/js/mixins/wizardAction.js index dd1c3d7a7..288e7f02e 100644 --- a/resources/assets/js/mixins/wizardAction.js +++ b/resources/assets/js/mixins/wizardAction.js @@ -104,7 +104,7 @@ export default { [key]: val, }); } - + if(plus_data == 'type') { Object.assign(data, { ['type']: 'normal', @@ -117,7 +117,7 @@ export default { data: data, }) .then(response => { - if(form_list.length && form_list.length != undefined) { + if(form_list.length != undefined) { if(form_method == 'POST') { form_list.push({ "id": response.data.data.id, @@ -154,7 +154,7 @@ export default { }, this); this.component = ""; - + document.body.classList.remove("modal-open"); this.onDeleteItemMessage(event); },