DTL panel : show proposal corresponding to dialog working for virtual sample (dynamic and static)
This commit is contained in:
parent
af0c259525
commit
c2d00e0edf
5 changed files with 204 additions and 92 deletions
|
|
@ -11,7 +11,7 @@
|
|||
<DTLPanel v-if="isDTLPanelOpen" @close="isDTLPanelOpen = false" />
|
||||
<DTLButton
|
||||
v-if="page?.designToLight?.length > 0"
|
||||
@click="openDTLPanel($event)"
|
||||
@click="toggleDTLPanel($event)"
|
||||
/>
|
||||
</main>
|
||||
</template>
|
||||
|
|
@ -61,8 +61,8 @@ function openDialog(targetStepSlug) {
|
|||
dialog.content = targetStep;
|
||||
}
|
||||
|
||||
function openDTLPanel(event) {
|
||||
isDTLPanelOpen.value = true;
|
||||
function toggleDTLPanel(event) {
|
||||
isDTLPanelOpen.value = !isDTLPanelOpen.value;
|
||||
event.stopImmediatePropagation();
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue