process error
This commit is contained in:
parent
65a2bbaa8d
commit
a00d9cbff1
3 changed files with 24 additions and 8 deletions
|
|
@ -13,8 +13,19 @@ Template: document
|
|||
Comments:
|
||||
|
||||
1:
|
||||
m2lyhnf7:
|
||||
text: nouveau com
|
||||
m2lyrs06:
|
||||
text: nouveau commentaire
|
||||
username: Adrien Payet
|
||||
date: 2024-10-23T16:14:54+02:00
|
||||
id: m2lyhnf7
|
||||
date: 2024-10-23T16:22:47+02:00
|
||||
id: m2lyrs06
|
||||
2:
|
||||
m2lys1bs:
|
||||
text: test
|
||||
username: Adrien Payet
|
||||
date: 2024-10-23T16:22:59+02:00
|
||||
id: m2lys1bs
|
||||
m2lys8xu:
|
||||
text: 2e com page 2
|
||||
username: Adrien Payet
|
||||
date: 2024-10-23T16:23:09+02:00
|
||||
id: m2lys8xu
|
||||
|
|
@ -133,9 +133,13 @@ function closeAddField() {
|
|||
}
|
||||
|
||||
function setStatus(comment) {
|
||||
if (user?.notifications?.comments.hasOwnProperty(comment.id)) {
|
||||
return "unread";
|
||||
} else {
|
||||
try {
|
||||
if (user?.notifications?.comments.hasOwnProperty(comment.id)) {
|
||||
return "unread";
|
||||
} else {
|
||||
return undefined;
|
||||
}
|
||||
} catch (error) {
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@
|
|||
modal
|
||||
:draggable="false"
|
||||
header="Titre du PDF"
|
||||
class="w-full | text-grey-800 | rounded-2xl | overflow-hidden | with-comments"
|
||||
class="w-full | text-grey-800 | rounded-2xl | overflow-hidden"
|
||||
:class="{ 'with-comments': isCommentsOpen }"
|
||||
:closeOnEscape="true"
|
||||
>
|
||||
<template #header>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue