diff options
| author | Tusooa Zhu <tusooa@kazv.moe> | 2022-06-10 15:55:31 -0400 |
|---|---|---|
| committer | tusooa <tusooa@kazv.moe> | 2023-01-20 23:40:12 -0500 |
| commit | 1856eeda40e76618717a66b51ffc49a1ecf8c967 (patch) | |
| tree | 1620f54772361194967dc1f264d4ff9192f3f32e | |
| parent | 041bbb162299b896f5d0583c1ed4e8dcdc035c38 (diff) | |
Auto close confirm dialog after approve/deny
| -rw-r--r-- | src/components/notification/notification.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js index 0ce8892e..420db4f0 100644 --- 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: { |
