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:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user