mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-20 23:21:06 +00: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"}
|
||||
onClick={handleOpen}
|
||||
>
|
||||
{!openResearchId ? "Open" : "Close"}
|
||||
{researchId !== openResearchId ? "Open" : "Close"}
|
||||
</Button>
|
||||
</div>
|
||||
</CardFooter>
|
||||
|
||||
Reference in New Issue
Block a user