Skip to content

Commit

Permalink
Capitalizing first letter table quality status overview and displayin…
Browse files Browse the repository at this point in the history
…g cursor pointer when hovering on cells
  • Loading branch information
psychologianauki committed Aug 17, 2024
1 parent 835166d commit c42f18b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default function TableQualityStatusCategory({
{tableStatus.status && (
<div
className={clsx(
'w-32 h-8 flex justify-end',
'w-32 h-8 flex justify-end cursor-pointer',
getColor(tableStatus.status),
severityType === 'current' ? '' : 'justify-end'
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default function TableQualityStatusColumnCategory({
<div className="w-5 h-full"></div>
<div
className={clsx(
'h-8 w-32 flex justify-end',
'h-8 w-32 flex justify-end cursor-pointer',
getColor(columnStatus.status),
severityType === 'current' ? '' : 'justify-end'
// isExtended && 'w-50'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ export default function TableQualityStatusOverview({
// )
// }
>
<div className=" ml-4">{key}</div>
<div className=" ml-4">
{key?.replaceAll('_', ' ').replace(/./, (c) => c.toUpperCase())}
</div>
</th>
))}
</thead>
Expand Down

0 comments on commit c42f18b

Please sign in to comment.