Skip to content

Commit

Permalink
Delete button bugfix edited
Browse files Browse the repository at this point in the history
  • Loading branch information
brkcvn committed Jun 3, 2021
1 parent 8a4ae61 commit dca6f0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/assets/js/mixins/wizardAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default {
[key]: val,
});
}

if(plus_data == 'type') {
Object.assign(data, {
['type']: 'normal',
Expand All @@ -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,
Expand Down Expand Up @@ -154,7 +154,7 @@ export default {
}, this);

this.component = "";

document.body.classList.remove("modal-open");
this.onDeleteItemMessage(event);
},

Expand Down

0 comments on commit dca6f0b

Please sign in to comment.