This commit is contained in:
Arimihanta 2021-06-16 13:37:30 +03:00
commit 3b5df13a29

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)"
>