paginate-follow-requests #277

Merged
floatingghost merged 4 commits from paginate-follow-requests into develop 2023-02-04 21:09:10 +00:00
2 changed files with 7 additions and 1 deletions
Showing only changes of commit e5f5a0e672 - Show all commits

View file

@ -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
}
}
}

View file

@ -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"