mirror of
https://git.mirrors.martin98.com/https://github.com/bytedance/deer-flow
synced 2025-08-20 00:49:05 +08:00
fix: update open research button text logic when has multiple ResearchCard in the message list
This commit is contained in:
parent
ba1b60d538
commit
8410eb0aa3
@ -268,7 +268,7 @@ function MessageListItem({
|
||||
variant={!openResearchId ? "default" : "outline"}
|
||||
onClick={handleOpen}
|
||||
>
|
||||
{!openResearchId ? "Open" : "Close"}
|
||||
{researchId !== openResearchId ? "Open" : "Close"}
|
||||
</Button>
|
||||
</div>
|
||||
</CardFooter>
|
||||
|
Loading…
x
Reference in New Issue
Block a user