mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
chore: another hotfix patch on getConvoTitle
This commit is contained in:
parent
39819b744c
commit
0b75d5d6fe
1 changed files with 2 additions and 1 deletions
|
|
@ -198,7 +198,8 @@ module.exports = {
|
|||
if (convo && !convo.title) {
|
||||
return null;
|
||||
} else {
|
||||
return convo.title;
|
||||
// TypeError: Cannot read properties of null (reading 'title')
|
||||
return convo?.title || 'New Chat';
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue