mark as interacted on any click on status, not specific actions

This commit is contained in:
Henry Jameson 2026-05-05 22:21:06 +03:00
commit cbc492a939
9 changed files with 3 additions and 14 deletions

View file

@ -144,7 +144,6 @@ const Notification = {
}
},
doApprove() {
this.$emit('interacted')
this.$store.state.api.backendInteractor.approveUser({ id: this.user.id })
this.$store.dispatch('removeFollowRequest', this.user)
this.$store.dispatch('markSingleNotificationAsSeen', {
@ -166,7 +165,6 @@ const Notification = {
}
},
doDeny() {
this.$emit('interacted')
this.$store.state.api.backendInteractor
.denyUser({ id: this.user.id })
.then(() => {

View file

@ -7,7 +7,7 @@
class="Notification"
:compact="true"
:statusoid="notification.status"
@interacted="interacted"
@click="interacted"
/>
</article>
<article