prepare physical sample component
This commit is contained in:
parent
d7e2a58448
commit
30876abff3
24 changed files with 180 additions and 37 deletions
|
|
@ -16,7 +16,14 @@
|
|||
step.files.length
|
||||
"
|
||||
>
|
||||
<article class="card" v-if="step.id !== 'proposal'">
|
||||
<article
|
||||
class="card"
|
||||
v-if="
|
||||
step.id !== 'proposal' &&
|
||||
step.id !== 'industrialIdeation' &&
|
||||
step.id !== 'physicalSample'
|
||||
"
|
||||
>
|
||||
<hgroup class="order-last">
|
||||
<h3 class="card__title | font-serif | text-lg">
|
||||
<router-link :to="'/' + step.uri" class="link-full">{{
|
||||
|
|
@ -80,7 +87,12 @@
|
|||
</footer>
|
||||
</article>
|
||||
|
||||
<template v-if="step.id == 'proposal' && step.files.length">
|
||||
<template
|
||||
v-if="
|
||||
step.id == 'proposal' ||
|
||||
(step.id == 'industrialIdeation' && step.files.length)
|
||||
"
|
||||
>
|
||||
<article
|
||||
class="card"
|
||||
v-for="(file, index) in step.files"
|
||||
|
|
@ -141,6 +153,8 @@
|
|||
</article>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
<template v-if="step.id === 'physicalSample'"></template>
|
||||
<!-- Empty state -->
|
||||
<template v-else></template>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue