adapt TextCard to display Textprod objects
This commit is contained in:
+6
-12
@@ -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
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user