diff --git a/frontend/components/navigation.tsx b/frontend/components/navigation.tsx index 773117fb..4efd1403 100644 --- a/frontend/components/navigation.tsx +++ b/frontend/components/navigation.tsx @@ -472,19 +472,15 @@ export function Navigation({ )} -
-
-

- Files -

-
-
- {(newConversationFiles?.length ?? 0) === 0 ? ( -
- No documents yet -
- ) : ( - newConversationFiles?.map((file, index) => ( + {(newConversationFiles?.length ?? 0) !== 0 && ( +
+
+

+ Files +

+
+
+ {newConversationFiles?.map((file, index) => (
- )) - )} + ))} +
-
+ )}
)}