File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6969 <tr
7070 :id =" `TVTABLE_row_${index}_${item.id}`"
7171 class =" divide-x divide-y last:border-b-0 px-2 py-1.5 text-left text-xs font-medium border hover:bg-gray-400/50"
72- :class =" `${index % 2 ? 'bg-gray-300/50' : 'bg-gray-100/50'} ${checkSelectedForRow(item) ? 'bg-gray-500/50' : ''} `"
72+ :class =" `${index % 2 ? 'bg-gray-300/50' : 'bg-gray-100/50'}`"
7373 @click =" rowClicked(item)"
7474 >
7575 <td
7676 v-if =" enableCheck"
7777 :key =" `check_${item.label}`"
78- class =" px-2 py-1.5 align-top table-cell last:border-b-0"
78+ : class =" ` px-2 py-1.5 align-top table-cell last:border-b-0 ${checkSelectedForRow(item) ? 'bg-gray-500/50' : ''}` "
7979 >
8080 <input id =" checkbox" v-model =" selectedRows" :value =" item" type =" checkbox" @click.stop =" emit('checkRow', item)" />
8181 </td >
8484 v-for =" field in fields"
8585 :key =" field.key"
8686 class =" px-2 py-1.5 align-top table-cell last:border-b-0"
87- :class =" field.tdClass"
87+ :class =" `${ field.tdClass} ${checkSelectedForRow(item) ? 'bg-gray-500/50' : ''}` "
8888 :style =" field.tdStyle"
8989 >
9090 <slot
You can’t perform that action at this time.
0 commit comments