fix #24 - Kanban : show brief step when created inside the platform

This commit is contained in:
isUnknown 2024-11-22 16:54:45 +01:00
parent 76ce0b3d03
commit b14f33e3fa
7 changed files with 57 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

View file

@ -0,0 +1,17 @@
Date: 2024-11-22 03:11
----
Description:
----
Tags:
----
Uuid: o5O69A12RBr8N7L0
----
Template: image

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 KiB

View file

@ -0,0 +1,17 @@
Date: 2024-11-22 03:11
----
Description:
----
Tags:
----
Uuid: wtE4h2yC4VQVl6IL
----
Template: image

View file

@ -6,15 +6,18 @@ Stepname: clientBrief
----
Pdf: - file://s0lNtRA0Z7ybTCWG
Pdf:
----
Description:
Description: test
----
Moodboard:
Moodboard:
- file://o5O69A12RBr8N7L0
- file://wtE4h2yC4VQVl6IL
----

View file

@ -2,7 +2,7 @@ Title: Miss Dior Blooming Bouquet
----
Currentstep: extendedBrief
Currentstep: clientBrief
----

View file

@ -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="