mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-31 23:58:50 +01:00
feat: add functionality to open conversation in a new tab on navigation
This commit is contained in:
parent
e8f8ab0ba0
commit
17e2e0eee5
1 changed files with 3 additions and 0 deletions
|
|
@ -102,6 +102,9 @@ export default function Conversation({
|
|||
const handleNavigation = (ctrlOrMetaKey: boolean) => {
|
||||
if (ctrlOrMetaKey) {
|
||||
toggleNav();
|
||||
const baseUrl = window.location.origin;
|
||||
const path = `/c/${conversationId}`;
|
||||
window.open(baseUrl + path, '_blank');
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue