fix: q-tree no sub branch

This commit is contained in:
puriphatt 2024-07-23 04:08:55 +00:00
parent 46fe637b6e
commit 40541bda3f

View file

@ -682,7 +682,9 @@ watch(
class="row col items-center justify-between full-width no-wrap" class="row col items-center justify-between full-width no-wrap"
> >
<q-icon <q-icon
v-if="node.isHeadOffice" v-if="
node.isHeadOffice && node._count.branch !== 0
"
name="mdi-triangle-down" name="mdi-triangle-down"
size="12px" size="12px"
class="app-text-muted q-mr-md" class="app-text-muted q-mr-md"