refactor(collection-pool): drop redundant supplier name from row body
The supplier name is already shown in the SupplierGroup section header, so repeating it on each row inside the section adds visual weight without information. Keep it on the checkbox aria-label for screen readers only.
This commit is contained in:
parent
da9b3e8b58
commit
c88a52cf2d
1 changed files with 1 additions and 2 deletions
|
|
@ -112,8 +112,7 @@ export function PoolRow({
|
|||
className="mt-1 size-4 shrink-0 cursor-pointer accent-primary disabled:cursor-not-allowed"
|
||||
/>
|
||||
<div className="min-w-0">
|
||||
<p className="truncate text-sm font-semibold text-foreground">{row.supplierName}</p>
|
||||
<p className="mt-1 truncate text-sm text-foreground">{row.description || "(no description)"}</p>
|
||||
<p className="truncate text-sm font-semibold text-foreground">{row.description || "(no description)"}</p>
|
||||
<div className="mt-1 flex flex-wrap gap-x-2 gap-y-1 text-xs text-muted-foreground">
|
||||
<span>{row.customerName || "No customer"}</span>
|
||||
<span className="text-border">/</span>
|
||||
|
|
|
|||
Loading…
Reference in a new issue