Auto close confirm dialog after approve/deny

This commit is contained in:
Tusooa Zhu 2022-06-10 15:55:31 -04:00 committed by tusooa
parent 041bbb1622
commit 1856eeda40
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224

View file

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