refactor deleteNotification method
This commit is contained in:
parent
82f4aaf904
commit
fe56312f20
6 changed files with 70 additions and 33 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue