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:
|
Comments:
|
||||||
|
|
||||||
1:
|
1:
|
||||||
m2lyhnf7:
|
m2lyrs06:
|
||||||
text: nouveau com
|
text: nouveau commentaire
|
||||||
username: Adrien Payet
|
username: Adrien Payet
|
||||||
date: 2024-10-23T16:14:54+02:00
|
date: 2024-10-23T16:22:47+02:00
|
||||||
id: m2lyhnf7
|
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) {
|
function setStatus(comment) {
|
||||||
if (user?.notifications?.comments.hasOwnProperty(comment.id)) {
|
try {
|
||||||
return "unread";
|
if (user?.notifications?.comments.hasOwnProperty(comment.id)) {
|
||||||
} else {
|
return "unread";
|
||||||
|
} else {
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
|
} catch (error) {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,8 @@
|
||||||
modal
|
modal
|
||||||
:draggable="false"
|
:draggable="false"
|
||||||
header="Titre du PDF"
|
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"
|
:closeOnEscape="true"
|
||||||
>
|
>
|
||||||
<template #header>
|
<template #header>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue