dev: hotfix, improvements
+ components/pub/my-ui/data-table + components/pub/ui/badge + lib/date
This commit is contained in:
@@ -71,14 +71,14 @@ function handleActionCellClick(event: Event, _cellRef: string) {
|
||||
<template>
|
||||
<Table>
|
||||
<TableHeader v-if="headers" class="bg-gray-50 dark:bg-gray-800">
|
||||
<TableRow>
|
||||
<TableRow v-for="(hr, hrIdx) in headers">
|
||||
<TableHead
|
||||
v-for="(h, idx) in headers[0]"
|
||||
v-for="(th, idx) in headers[hrIdx]"
|
||||
:key="`head-${idx}`"
|
||||
class="border"
|
||||
:class="`border ${th.classVal || ''}`"
|
||||
:style="{ width: cols[idx]?.width ? `${cols[idx].width}px` : undefined }"
|
||||
>
|
||||
{{ h.label }}
|
||||
{{ th.label }}
|
||||
</TableHead>
|
||||
</TableRow>
|
||||
</TableHeader>
|
||||
|
||||
Reference in New Issue
Block a user