kanban > step > virtual sample : fix uri
This commit is contained in:
parent
dd8d9c7fa1
commit
8c0a347d2c
7 changed files with 46 additions and 15 deletions
|
|
@ -1,5 +1,9 @@
|
|||
<template>
|
||||
<Document v-if="step.files.length > 0" :step="step" :pdf="step.files[0]" />
|
||||
<Document
|
||||
v-if="step.files.length > 0"
|
||||
:step="step"
|
||||
:pdf="step.files.find((file) => file.type === 'document')"
|
||||
/>
|
||||
</template>
|
||||
<script setup>
|
||||
import Document from "./Document.vue";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue