refactor: add id

This commit is contained in:
Net 2024-07-31 14:34:51 +07:00
parent a980030276
commit a2933d36ec

View file

@ -2074,6 +2074,7 @@ watch(
<template v-slot:body="props"> <template v-slot:body="props">
<q-tr <q-tr
:id="`enter-${props.row.name}`"
class="cursor-pointer" class="cursor-pointer"
:class="{ :class="{
'app-text-muted': props.row.status === 'INACTIVE', 'app-text-muted': props.row.status === 'INACTIVE',
@ -2367,7 +2368,8 @@ watch(
:subtitle="props.row.code" :subtitle="props.row.code"
:date="new Date(props.row.updatedAt)" :date="new Date(props.row.updatedAt)"
:status="props.row.status" :status="props.row.status"
:id="props.row.id" :id="`enter-${props.row.name}`"
:for="`enter-${props.row.name}`"
:isDisabled="props.row.status === 'INACTIVE'" :isDisabled="props.row.status === 'INACTIVE'"
:color=" :color="
{ {