práce na rozbalování částí čísla

This commit is contained in:
Kateřina Č 2020-09-21 11:30:00 +02:00
parent 638107270b
commit c8e71a936e

View file

@ -1,7 +1,8 @@
<template>
<div class="treenode-org">
<b v-if="v_tematku">ubvoueab</b>
<b v-if="v_tematku">v tematu</b>
<b v-if="visible">visible</b>
<component :is='item.node.polymorphic_ctype.model' :item='item' :key='item.node.id'></component>
@ -25,7 +26,8 @@
</div>
<div v-for="(chld, index) in item.children" v-bind:key="chld.nazev" >
<TreeNode :item="chld" :v_tematku="item.node.polymorphic_ctype.model==='temavcislenode'||v_tematku">
<TreeNode :item="chld" :v_tematku="item.node.polymorphic_ctype.model==='temavcislenode'||v_tematku"
:visible="!v_tematku||item.node.polymorphic_ctype.model==='ulohazadaninode'">
</TreeNode>
<div v-if="chld.appendable_siblings.length > 0" class="mam-org-only" >
<b v-if="index < (item.children.length - 1)">Vložit mezi: </b>