mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 09:20:15 +01:00
feat(Conversation.jsx): set document title when conversation is switched
This commit is contained in:
parent
31cef16cc3
commit
e0b0b68346
1 changed files with 3 additions and 0 deletions
|
|
@ -32,6 +32,9 @@ export default function Conversation({ conversation, retainView }) {
|
||||||
// stop existing submission
|
// stop existing submission
|
||||||
setSubmission(null);
|
setSubmission(null);
|
||||||
|
|
||||||
|
// set document title
|
||||||
|
document.title = title;
|
||||||
|
|
||||||
// set conversation to the new conversation
|
// set conversation to the new conversation
|
||||||
switchToConversation(conversation);
|
switchToConversation(conversation);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue