adapt TextCard to display Textprod objects

This commit is contained in:
axolotle
2021-03-09 17:30:28 +01:00
parent b195ea4b58
commit 1efcfda37d
4 changed files with 38 additions and 22 deletions
+6 -12
View File
@@ -1,13 +1,7 @@
<template>
<component-debug :component="this" class="view">
<div class="py-3">
<b-button @click="openText">
add text 50
</b-button>
</div>
<div class="h-100">
<!-- BACKGROUND (mode) -->
<component :is="mode" />
<!-- <component :is="mode" /> -->
<!-- FOREGROUND (texts) -->
<section v-for="group in groups" :key="group.id" class="split-screen">
@@ -16,7 +10,7 @@
<text-card v-for="id in group.prod" :key="id" :id="id" />
</div>
</section>
</component-debug>
</div>
</template>
<script>
@@ -28,9 +22,9 @@ export default {
name: 'Library',
components: {
CardList,
CardMap,
TreeMap,
// CardList,
// CardMap,
// TreeMap,
TextCard
},