mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-19 04:14:46 +08:00
fix: allow the first activity to be reporting (#8)
This commit is contained in:
@@ -65,8 +65,10 @@ export function ResearchBlock({
|
||||
|
||||
// When the research id changes, set the active tab to activities
|
||||
useEffect(() => {
|
||||
setActiveTab("activities");
|
||||
}, [researchId]);
|
||||
if (!hasReport) {
|
||||
setActiveTab("activities");
|
||||
}
|
||||
}, [hasReport, researchId]);
|
||||
|
||||
return (
|
||||
<div className={cn("h-full w-full", className)}>
|
||||
|
||||
Reference in New Issue
Block a user