logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 1856eeda40e76618717a66b51ffc49a1ecf8c967
parent 041bbb162299b896f5d0583c1ed4e8dcdc035c38
Author: Tusooa Zhu <tusooa@kazv.moe>
Date:   Fri, 10 Jun 2022 15:55:31 -0400

Auto close confirm dialog after approve/deny

Diffstat:

Msrc/components/notification/notification.js2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js @@ -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: {