refactor: branch can null

This commit is contained in:
Net 2024-08-01 11:28:17 +07:00
parent 9bf3da6963
commit 2de98fe190

View file

@ -306,7 +306,7 @@ watch([inputSearch, currentStatus], async () => {
<q-tr
:class="{
'app-text-muted': props.row.status === 'INACTIVE',
'cursor-pointer': props.row._count.branch !== 0,
'cursor-pointer': props.row._count?.branch !== 0,
}"
:props="props"
@click="$emit('viewDetail', props.row, props.rowIndex)"