Do not display replies inside status as link if there are no other replies

This commit is contained in:
Tusooa Zhu 2021-09-08 23:22:11 -04:00
parent 9b27ac9aaf
commit cebb4224ac
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224

View File

@ -347,7 +347,7 @@
class="replies" class="replies"
> >
<button <button
v-if="showOtherRepliesAsButton" v-if="showOtherRepliesAsButton && replies.length > 1"
class="button-unstyled -link faint" class="button-unstyled -link faint"
:title="$tc('status.ancestor_follow', replies.length - 1, { numReplies: replies.length - 1 })" :title="$tc('status.ancestor_follow', replies.length - 1, { numReplies: replies.length - 1 })"
@click.prevent="dive" @click.prevent="dive"