designtopack/src/components/project/DialogWrapper.vue

18 lines
439 B
Vue
Raw Normal View History

<template>
2024-11-18 15:27:41 +01:00
<PdfViewer
v-if="
2024-11-19 14:10:35 +01:00
dialog.content.slug.includes('brief') ||
2024-11-18 15:27:41 +01:00
dialog.content.slug === 'proposal'
"
/>
2024-11-19 15:38:39 +01:00
<VirtualSample v-if="dialog.content.slug === 'virtual-sample'" />
</template>
<script setup>
2024-11-19 14:10:35 +01:00
import PdfViewer from "./brief/PdfViewer.vue";
import { useDialogStore } from "../../stores/dialog";
import VirtualSample from "./virtual-sample/VirtualSample.vue";
const dialog = useDialogStore();
</script>