fix #24 - Kanban : show brief step when created inside the platform
This commit is contained in:
parent
76ce0b3d03
commit
b14f33e3fa
7 changed files with 57 additions and 5 deletions
|
|
@ -34,7 +34,22 @@
|
|||
</div>
|
||||
<!-- All images -->
|
||||
<figure
|
||||
v-if="step.id.includes('Brief') && step.files[0]?.type === 'image'"
|
||||
v-if="step.id === 'clientBrief' && step.files[0].type === 'image'"
|
||||
class="card__images"
|
||||
:data-count="step.files.length"
|
||||
:data-plus="
|
||||
step.files.length > 3 ? step.files.length - 3 : undefined
|
||||
"
|
||||
>
|
||||
<img
|
||||
v-for="image in step.files.slice(0, 3)"
|
||||
:key="image.uuid"
|
||||
:src="image.url"
|
||||
:alt="image.alt"
|
||||
/>
|
||||
</figure>
|
||||
<figure
|
||||
v-if="step.id === 'extendedBrief'"
|
||||
class="card__images"
|
||||
:data-count="step.files.dynamic.length"
|
||||
:data-plus="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue