remove check data from delete user formular

This commit is contained in:
mahula 2023-03-30 17:34:00 +02:00
parent e106f85086
commit d685a01742

View File

@ -37,11 +37,6 @@ export default {
required: true, required: true,
}, },
}, },
data() {
return {
checked: false,
}
},
methods: { methods: {
showDeleteModal() { showDeleteModal() {
this.$bvModal this.$bvModal
@ -56,6 +51,7 @@ export default {
title: this.$t('overlay.deleteUser.title'), title: this.$t('overlay.deleteUser.title'),
okTitle: this.$t('overlay.deleteUser.yes'), okTitle: this.$t('overlay.deleteUser.yes'),
okVariant: 'danger', okVariant: 'danger',
static: true,
}, },
) )
.then((okClicked) => { .then((okClicked) => {
@ -104,7 +100,6 @@ export default {
userId: this.item.userId, userId: this.item.userId,
deletedAt: result.data.deleteUser, deletedAt: result.data.deleteUser,
}) })
this.checked = false
}) })
.catch((error) => { .catch((error) => {
this.toastError(error.message) this.toastError(error.message)
@ -123,7 +118,6 @@ export default {
userId: this.item.userId, userId: this.item.userId,
deletedAt: result.data.unDeleteUser, deletedAt: result.data.unDeleteUser,
}) })
this.checked = false
}) })
.catch((error) => { .catch((error) => {
this.toastError(error.message) this.toastError(error.message)