diff --git a/desktop/src/components/chat/MessageList.tsx b/desktop/src/components/chat/MessageList.tsx index b3840e04..76754e0d 100644 --- a/desktop/src/components/chat/MessageList.tsx +++ b/desktop/src/components/chat/MessageList.tsx @@ -153,52 +153,41 @@ function GoalEventCard({ message }: { message: GoalEvent }) { const t = useTranslation() const titleKey = `chat.goalEvent.${message.action === 'status' ? 'statusTitle' : message.action}` as TranslationKey const title = t(titleKey) === titleKey ? t('chat.goalEvent.message') : t(titleKey) - const objective = message.objective ? t('chat.goalEvent.objective', { value: message.objective }) : null - const details = [ + const metaDetails = [ message.status ? t('chat.goalEvent.statusValue', { value: message.status }) : null, message.budget ? t('chat.goalEvent.budget', { value: message.budget }) : null, message.continuations ? t('chat.goalEvent.continuations', { value: message.continuations }) : null, ].filter((detail): detail is string => detail !== null) return ( -
-
-