DTL panel : add with-dtl class on titled pdf wrapper component

This commit is contained in:
isUnknown 2025-01-27 15:53:23 +01:00
parent 46b0e8a4e0
commit b63bbfd62d
2 changed files with 9 additions and 2 deletions

View file

@ -7,7 +7,10 @@
dismissableMask="true" dismissableMask="true"
header="Titre du PDF" header="Titre du PDF"
class="dialog" class="dialog"
:class="{ 'with-comments': isCommentsOpen }" :class="[
{ 'with-comments': isCommentsOpen },
{ 'with-dtl': correspondingDTLProposal },
]"
:closeOnEscape="true" :closeOnEscape="true"
> >
<template #header> <template #header>

View file

@ -7,7 +7,11 @@
dismissableMask="true" dismissableMask="true"
header="Titre du rendu" header="Titre du rendu"
class="dialog" class="dialog"
:class="[{ 'with-comments': isCommentsOpen }, activeTab, { 'with-dtl': correspondingDTLProposal}]" :class="[
{ 'with-comments': isCommentsOpen },
activeTab,
{ 'with-dtl': correspondingDTLProposal },
]"
:closeOnEscape="true" :closeOnEscape="true"
> >
<template #header> <template #header>