mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-26 15:24:48 +08:00
fix: update open research button text logic when has multiple ResearchCard in the message list
This commit is contained in:
@@ -268,7 +268,7 @@ function MessageListItem({
|
|||||||
variant={!openResearchId ? "default" : "outline"}
|
variant={!openResearchId ? "default" : "outline"}
|
||||||
onClick={handleOpen}
|
onClick={handleOpen}
|
||||||
>
|
>
|
||||||
{!openResearchId ? "Open" : "Close"}
|
{researchId !== openResearchId ? "Open" : "Close"}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</CardFooter>
|
</CardFooter>
|
||||||
|
|||||||
Reference in New Issue
Block a user