mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-23 20:00:15 +01:00
fix: retain scroll view on delete convo
This commit is contained in:
parent
f1aabfa543
commit
8762765dd0
4 changed files with 18 additions and 13 deletions
|
|
@ -32,10 +32,11 @@ export default function Conversations({ conversations, conversationId, showMore
|
|||
chatGptLabel={convo.chatGptLabel}
|
||||
promptPrefix={convo.promptPrefix}
|
||||
bingData={bingData}
|
||||
retainView={showMore.bind(null, false)}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
{conversations && conversations.length >= 12 && conversations.length % 12 === 0 && (
|
||||
{conversations?.length >= 12 && (
|
||||
<button
|
||||
onClick={clickHandler}
|
||||
className="btn btn-dark btn-small m-auto mb-2 flex justify-center gap-2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue