fixed
This commit is contained in:
parent
c928480566
commit
a13ea7ffef
@ -307,7 +307,7 @@ const tableRows = filtered.map((item) => [
|
||||
item?.quarter || '-',
|
||||
item?.product_count || '-',
|
||||
// Submitted By - get from created_by_name field
|
||||
item?.created_by_name || '-',
|
||||
<div className="break-words">{item?.created_by_name || '-'}</div>,
|
||||
<span className="whitespace-nowrap">{formatDate(item?.created_at)}</span>,
|
||||
renderStatusBadge(item?.status),
|
||||
// Reviewer - show reviewer_name after approval/rejection, otherwise show '-'
|
||||
|
||||
@ -190,8 +190,13 @@ const Table = ({
|
||||
return (
|
||||
<td
|
||||
key={ci}
|
||||
className={`px-6 h-12 text-sm text-[#232528] border-b border-[#C3C6CB] align-middle ${getCellClass ? getCellClass(ri, ci) : ''}`}
|
||||
style={widthStyle}
|
||||
className={`px-6 py-2 text-sm text-[#232528] border-b border-[#C3C6CB] align-top ${getCellClass ? getCellClass(ri, ci) : ''}`}
|
||||
style={{
|
||||
...widthStyle,
|
||||
whiteSpace: 'normal',
|
||||
wordWrap: 'break-word',
|
||||
maxWidth: widthValue || '200px'
|
||||
}}
|
||||
>
|
||||
{renderCell ? renderCell(cell, ri, ci) : cell}
|
||||
</td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user