This commit is contained in:
Arimihanta 2021-06-16 13:37:30 +03:00
commit 3b5df13a29
1 changed files with 4 additions and 1 deletions

View File

@ -48,7 +48,10 @@
</button>
<button
v-if="$root.user.is('ADMIN') || $root.user.is('MODO')"
v-if="
($root.user.is('ADMIN') || $root.user.is('MODO')) &&
comment.comments.length < 1
"
title="Supprimer le commentaire"
@click="deleteComment(comment.id)"
>