refactor: table color

This commit is contained in:
puriphatt 2024-08-09 10:55:19 +00:00
parent e8b5006bf4
commit 676c2c5ebf
2 changed files with 24 additions and 3 deletions

View file

@ -1064,6 +1064,13 @@ watch(currentHq, () => {
'app-text-muted': props.row.status === 'INACTIVE',
'cursor-pointer': props.row._count.branch !== 0,
}"
:style="
props.rowIndex % 2 !== 0
? $q.dark.isActive
? 'background: hsl(var(--gray-11-hsl)/0.2)'
: `background: #f9fafc`
: ''
"
:props="props"
@click="
() => {