Merge pull request #2471 from gradido/2435-bug-when-undeleting-an-user-two-success-toasts

fix(admin): reduce triggers of success toast on deleted user form to exactly one
This commit is contained in:
mahula 2022-12-22 09:34:28 +01:00 committed by GitHub
commit ac32c3a6d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,6 @@ export default {
},
})
.then((result) => {
this.toastSuccess(this.$t('user_recovered'))
this.$emit('updateDeletedAt', {
userId: this.item.userId,
deletedAt: result.data.unDeleteUser,