refactor: add space in front of tree on no icon

This commit is contained in:
Net 2024-07-30 17:08:15 +07:00
parent efb31ab582
commit c7268bde3e

View file

@ -61,7 +61,7 @@ withDefaults(
<div <div
class="col row" class="col row"
:class="{ 'q-pl-sm': node.type === 'type' }" :class="{ 'q-pl-sm': node.type === 'type' }"
:style="`padding-left:${node.type === 'group' && node._count.type === 0 ? '36px' : ''}`" :style="`padding-left:${(node.type === 'group' && node._count.type === 0) || (node.isHeadOffice && node._count.branch === 0) ? '36px' : ''}`"
> >
<span <span
class="ellipsis col-12" class="ellipsis col-12"