Added new file added to the navigation

This commit is contained in:
Lucas Oliveira 2025-10-27 11:29:41 -03:00
parent d15f850bf7
commit 1e83705d97

View file

@ -337,7 +337,8 @@ export function Navigation({
message.role === "user" && message.role === "user" &&
(message.content.match(FILES_REGEX)?.[0] ?? null) !== null, (message.content.match(FILES_REGEX)?.[0] ?? null) !== null,
) )
.map((message) => message.content.match(FILES_REGEX)?.[0] ?? null); .map((message) => message.content.match(FILES_REGEX)?.[0] ?? null)
.concat(conversationDocs.map((doc) => doc.filename));
return ( return (
<div className="flex flex-col h-full bg-background"> <div className="flex flex-col h-full bg-background">