mark as interacted on any click on status, not specific actions
This commit is contained in:
parent
99d9b57240
commit
cbc492a939
9 changed files with 3 additions and 14 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
class="Notification"
|
||||
:compact="true"
|
||||
:statusoid="notification.status"
|
||||
@interacted="interacted"
|
||||
@click="interacted"
|
||||
/>
|
||||
</article>
|
||||
<article
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue