integrated thematique in serahc results
This commit is contained in:
@ -12,7 +12,8 @@
|
||||
</div>
|
||||
<ul v-else>
|
||||
<li v-for="item in items" v-bind:key="item.uuid">
|
||||
<Card :item="item"/>
|
||||
<Card v-if="item.bundle == 'materiau'" :item="item"/>
|
||||
<CardThematique v-if="item.bundle == 'thematique'" :item="item"/>
|
||||
</li>
|
||||
</ul>
|
||||
<infinite-loading
|
||||
@ -29,6 +30,7 @@
|
||||
<script>
|
||||
|
||||
import Card from 'vuejs/components/Content/Card'
|
||||
import CardThematique from 'vuejs/components/Content/CardThematique'
|
||||
|
||||
import { mapState, mapActions } from 'vuex'
|
||||
|
||||
@ -80,7 +82,8 @@ export default {
|
||||
next()
|
||||
},
|
||||
components: {
|
||||
Card
|
||||
Card,
|
||||
CardThematique
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user