process error
This commit is contained in:
parent
65a2bbaa8d
commit
a00d9cbff1
3 changed files with 24 additions and 8 deletions
|
|
@ -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