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…
Reference in New Issue