mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-24 17:06:00 +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"}
|
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