read content notification on click
This commit is contained in:
parent
1fae3dd414
commit
495e1c024e
7 changed files with 25 additions and 16 deletions
|
|
@ -13,7 +13,10 @@
|
|||
class="btn | ml-auto"
|
||||
@click="validate"
|
||||
v-if="page.content.isvalidated != 'true'"
|
||||
:disabled="page.files.length === 0"
|
||||
:disabled="page.moodboard.length === 0"
|
||||
:title="
|
||||
page.moodboard.length === 0 ? 'Ajoutez au moins une image' : undefined
|
||||
"
|
||||
>
|
||||
Valider et envoyer le brief
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ function getHref(notification) {
|
|||
|
||||
const isDocumentBrief =
|
||||
notification.location.page.template === "client-brief" &&
|
||||
notification.location?.file.type === "document";
|
||||
notification.location?.file?.type === "document";
|
||||
|
||||
if (isDocumentBrief) {
|
||||
return notification.project.uri + "?dialog=client-brief&comments=true";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue