finish extended brief step

This commit is contained in:
isUnknown 2024-12-20 07:35:24 +01:00
parent 16ae67dfc4
commit 2b2c1002e3
2 changed files with 10 additions and 0 deletions

View file

@ -22,6 +22,7 @@ import { useProjectStore } from "../../stores/project";
import { useRouter } from "vue-router";
import ClientBrief from "./cards/ClientBrief.vue";
import Proposal from "./cards/Proposal.vue";
import ExtendedBrief from "./cards/ExtendedBrief.vue";
const { step } = defineProps({
step: Object,
@ -30,6 +31,7 @@ const { step } = defineProps({
const cardsMap = {
clientBrief: ClientBrief,
proposal: Proposal,
extendedBrief: ExtendedBrief,
};
const emit = defineEmits(["update:file"]);

View file

@ -0,0 +1,8 @@
<template>
<Document v-if="step.files.length > 0" :step="step" :pdf="step.files[0]" />
</template>
<script setup>
import Document from "./Document.vue";
const { step } = defineProps({ step: Object });
</script>