fix(plan): always show notes for every record in a multi-record cell

Previously notes were hidden when a cell held 2-3 records (a density
choice). Show each record's note regardless of count — drop the
now-unused showNote prop on PlanRangeChips.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
BOHA
2026-06-08 12:53:45 +02:00
parent cce2c9cfaa
commit 1ddc0feccd
2 changed files with 1 additions and 6 deletions

View File

@@ -6,7 +6,6 @@ interface Props {
project: Project | null;
readonly?: boolean;
categoryLabel: string;
showNote?: boolean;
}
export default function PlanRangeChips({
@@ -14,7 +13,6 @@ export default function PlanRangeChips({
project,
readonly,
categoryLabel,
showNote = true,
}: Props) {
void readonly;
if (!cell) return null;
@@ -38,9 +36,7 @@ export default function PlanRangeChips({
</span>
)}
</div>
{showNote && cell.note && (
<div className="plan-cell-note">{cell.note}</div>
)}
{cell.note && <div className="plan-cell-note">{cell.note}</div>}
</div>
);
}