mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-04-07 00:15:23 +02:00
Merge 2bc8957689 into 8ed0bcf5ca
This commit is contained in:
commit
bec2280de3
5 changed files with 68 additions and 7 deletions
|
|
@ -143,13 +143,15 @@ export default function useSideNavLinks({
|
|||
});
|
||||
}
|
||||
|
||||
links.push({
|
||||
title: 'com_sidepanel_attach_files',
|
||||
label: '',
|
||||
icon: AttachmentIcon,
|
||||
id: 'files',
|
||||
Component: FilesPanel,
|
||||
});
|
||||
if (interfaceConfig.attachFiles !== false) {
|
||||
links.push({
|
||||
title: 'com_sidepanel_attach_files',
|
||||
label: '',
|
||||
icon: AttachmentIcon,
|
||||
id: 'files',
|
||||
Component: FilesPanel,
|
||||
});
|
||||
}
|
||||
|
||||
if (hasAccessToBookmarks) {
|
||||
links.push({
|
||||
|
|
@ -195,6 +197,7 @@ export default function useSideNavLinks({
|
|||
hasAccessToMemories,
|
||||
hasAccessToReadMemories,
|
||||
interfaceConfig.parameters,
|
||||
interfaceConfig.attachFiles,
|
||||
endpointType,
|
||||
hasAccessToBookmarks,
|
||||
availableMCPServers,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue