diff --git a/apps/presentation/dashboard/src/features/personal-workspace/goal-research-history.tsx b/apps/presentation/dashboard/src/features/personal-workspace/goal-research-history.tsx index a0ad487b59..0ef72ab82c 100644 --- a/apps/presentation/dashboard/src/features/personal-workspace/goal-research-history.tsx +++ b/apps/presentation/dashboard/src/features/personal-workspace/goal-research-history.tsx @@ -445,6 +445,9 @@ export function GoalResearchHistory({goalId, active, zh, refreshRevision = 0, re control?.querySelector("button:not(:disabled)")?.focus({preventScroll: true}); }; const readFailure = error || history.error; + const emptyHistory = !busy && !readFailure && read.total === 0; + const emptyWithAnalysis = emptyHistory && Boolean(analysis.pack?.result || analysis.pack?.native_outcomes); + const emptyHistoryMessage = zh ? "这个 Goal 尚无研究历程" : "No research history for this Goal yet"; return
{progressiveOverview ? <>