Auto close confirm dialog after approve/deny

This commit is contained in:
Tusooa Zhu 2022-06-10 15:55:31 -04:00 committed by FloatingGhost
parent 57c14e6d6c
commit d84212baa8
1 changed files with 2 additions and 0 deletions

View File

@ -97,6 +97,7 @@ const Notification = {
notification.type = 'follow' notification.type = 'follow'
} }
}) })
this.hideApproveConfirmDialog()
}, },
denyUser () { denyUser () {
if (this.shouldConfirmDeny) { if (this.shouldConfirmDeny) {
@ -111,6 +112,7 @@ const Notification = {
this.$store.dispatch('dismissNotificationLocal', { id: this.notification.id }) this.$store.dispatch('dismissNotificationLocal', { id: this.notification.id })
this.$store.dispatch('removeFollowRequest', this.user) this.$store.dispatch('removeFollowRequest', this.user)
}) })
this.hideDenyConfirmDialog()
} }
}, },
computed: { computed: {