improve project dialog system
- project model : refactor getSteps() method - create dialog store - create DialogWrapper component that open the dialog corresponding to the URL query param
This commit is contained in:
parent
4e8c876dac
commit
26369ad71b
228 changed files with 451 additions and 525 deletions
9
src/components/project/DialogWrapper.vue
Normal file
9
src/components/project/DialogWrapper.vue
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<template>
|
||||
<PdfViewer v-if="dialog.content.id === 'clientBrief'" />
|
||||
</template>
|
||||
<script setup>
|
||||
import PdfViewer from "./client-brief/PdfViewer.vue";
|
||||
import { useDialogStore } from "../../stores/dialog";
|
||||
|
||||
const dialog = useDialogStore();
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue