Adjust text color for stock column (#11841)

- Muted color output
- Fixes https://github.com/inventree/InvenTree/issues/11835

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Oliver 2026-05-01 17:06:36 +10:00 committed by GitHub
parent 35bbecf4b0
commit 679665d491
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 6 deletions

View File

@ -272,16 +272,13 @@ export function StockColumn(props: StockColumnProps): TableColumn {
<TableHoverCard
value={
<Group gap='xs' justify='left' wrap='nowrap'>
<Text c={color}>{text}</Text>
{part.units && (
<Text size='xs' c={color}>
[{part.units}]
</Text>
)}
<Text>{text}</Text>
{part.units && <Text size='xs'>[{part.units}]</Text>}
</Group>
}
title={t`Stock Information`}
extra={extra}
iconColor={color}
/>
);
}