mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
📕 fix: Update document Title based on appTitle and on "New Chat" (#1553)
This commit is contained in:
parent
0f49642758
commit
dfe45f80c6
2 changed files with 14 additions and 0 deletions
|
|
@ -92,6 +92,10 @@ const useNewConvo = (index = 0) => {
|
|||
}
|
||||
|
||||
if (conversation.conversationId === 'new' && !modelsData) {
|
||||
const appTitle = localStorage.getItem('appTitle');
|
||||
if (appTitle) {
|
||||
document.title = appTitle;
|
||||
}
|
||||
navigate('new');
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue