Skip to content

Commit

Permalink
Change: Don't show follow button when Blocking/Blocked
Browse files Browse the repository at this point in the history
  • Loading branch information
atsu1125 committed Nov 20, 2022
1 parent a66a687 commit 8dfe33f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/pages/user/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<span v-if="$i && $i.id != user.id && user.isFollowed" class="followed">{{ $ts.followsYou }}</span>
<div v-if="$i" class="actions">
<button class="menu _button" @click="menu"><i class="fas fa-ellipsis-h"></i></button>
<MkFollowButton v-if="$i.id != user.id" :user="user" :inline="true" :transparent="false" :full="true" class="koudoku"/>
<MkFollowButton v-if="$i.id != user.id && !user.isBlocking && !user.isBlocked" :user="user" :inline="true" :transparent="false" :full="true" class="koudoku"/>
</div>
</div>
<MkAvatar class="avatar" :user="user" :disable-preview="true" :show-indicator="true"/>
Expand Down

0 comments on commit 8dfe33f

Please sign in to comment.