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
class="col row"
: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
class="ellipsis col-12"