From 10e37dd7e53f2bf8704b18153490787f1d0ed5ae Mon Sep 17 00:00:00 2001 From: Dotta Date: Mon, 16 Mar 2026 08:00:38 -0500 Subject: [PATCH] fix: remove "None" text from empty goals, add padding to + goal button When no goals are linked, hide the "None" label and just show the "+ Goal" button. When goals exist, add left margin to the button so it doesn't crowd the goal badges. Closes PAP-522 Co-Authored-By: Paperclip Co-Authored-By: Claude Opus 4.6 --- ui/src/components/ProjectProperties.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ui/src/components/ProjectProperties.tsx b/ui/src/components/ProjectProperties.tsx index 38dc1a33..3f6f6e40 100644 --- a/ui/src/components/ProjectProperties.tsx +++ b/ui/src/components/ProjectProperties.tsx @@ -420,9 +420,7 @@ export function ProjectProperties({ project, onUpdate, onFieldUpdate, getFieldSa alignStart valueClassName="space-y-2" > - {linkedGoals.length === 0 ? ( - None - ) : ( + {linkedGoals.length > 0 && (
{linkedGoals.map((goal) => ( 0 && "ml-1")} disabled={availableGoals.length === 0} >