From e079b8ebcf2447ad51fd4d18c20882e3d2237fba Mon Sep 17 00:00:00 2001 From: Dotta Date: Mon, 16 Mar 2026 18:47:29 -0500 Subject: [PATCH] Remove "None" text from empty goals and add padding to + Goal button - When no goals are linked, just show the "+ Goal" button without displaying "None" text - Add left margin to the "+ Goal" button when goals exist above it for better visual spacing 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 c3788b32..772bb8db 100644 --- a/ui/src/components/ProjectProperties.tsx +++ b/ui/src/components/ProjectProperties.tsx @@ -424,9 +424,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} >