forked from AkkomaGang/akkoma-fe
ensure accepted requests don't show
This commit is contained in:
parent
fff0810f02
commit
e5f5a0e672
2 changed files with 7 additions and 1 deletions
|
@ -82,6 +82,12 @@ const FollowRequestCard = {
|
|||
},
|
||||
shouldConfirmDeny () {
|
||||
return this.mergedConfig.modalOnDenyFollow
|
||||
},
|
||||
show () {
|
||||
console.log("SHOW", this.$store.state.api.followRequests);
|
||||
const notifId = this.$store.state.api.followRequests.find(req => req.id === this.user.id)
|
||||
|
||||
return notifId !== undefined
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<basic-user-card :user="user">
|
||||
<basic-user-card :user="user" v-if="show">
|
||||
<div class="follow-request-card-content-container">
|
||||
<button
|
||||
class="btn button-default"
|
||||
|
|
Loading…
Reference in a new issue