upd: check for replies length

This commit is contained in:
Marie 2023-12-31 18:41:29 +01:00
parent b1c26201ca
commit 8336b6c6b4
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<!-- new avatar container with line (post section) -->
<div :class="$style.avatarContainer">
<MkAvatar :class="$style.avatar" :user="note.user" link preview/>
<template v-if="note.repliesCount > 0">
<template v-if="note.repliesCount > 0 && replies.length > 0">
<div v-if="hideLine" :class="$style.threadLine"></div>
</template>
</div>