commit: cebb4224ac0143f6969c7d3e907a7d25eb38b4c7
parent 9b27ac9aaf58236d39845823f63f45b8b48f821d
Author: Tusooa Zhu <tusooa@kazv.moe>
Date: Wed, 8 Sep 2021 23:22:11 -0400
Do not display replies inside status as link if there are no other replies
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/status/status.vue b/src/components/status/status.vue
@@ -347,7 +347,7 @@
class="replies"
>
<button
- v-if="showOtherRepliesAsButton"
+ v-if="showOtherRepliesAsButton && replies.length > 1"
class="button-unstyled -link faint"
:title="$tc('status.ancestor_follow', replies.length - 1, { numReplies: replies.length - 1 })"
@click.prevent="dive"