comments : fix replies visibility

This commit is contained in:
isUnknown 2024-11-08 12:25:00 +01:00
parent 6e0b2299e2
commit d3e73bc8de
3 changed files with 29 additions and 18 deletions

View file

@ -41,7 +41,11 @@
data-icon="document"
></div>
</template>
<footer>2 commentaire(s)</footer>
<footer v-if="step?.files[0]?.comments?.length > 0">
{{ step.files[0].comments.length }} commentaire{{
step.files[0].comments.length > 1 ? "s" : ""
}}
</footer>
</article>
</div>
</router-link>