refactor deleteNotification method

This commit is contained in:
isUnknown 2024-11-17 12:01:20 +01:00
parent 82f4aaf904
commit fe56312f20
6 changed files with 70 additions and 33 deletions

View file

@ -1,7 +1,10 @@
<template>
<aside id="comments-container" aria-labelledby="comments-label">
<h2 id="comments-label" class="sr-only">Commentaires</h2>
<div class="comments | flow" :class="{ empty: comments.length === 0 }">
<div
class="comments | flow"
:class="{ empty: !comments || comments.length === 0 }"
>
<template v-if="comments">
<template v-if="!openedComment">
<Comment
@ -43,7 +46,6 @@
</div>
</template>
</template>
<template v-else> état aucun commentaire </template>
</div>
<button
v-if="!openedComment && !isAddOpen"