diff --git a/src/components/documents/documents-hub.tsx b/src/components/documents/documents-hub.tsx index bfa1302d..f816d3ba 100644 --- a/src/components/documents/documents-hub.tsx +++ b/src/components/documents/documents-hub.tsx @@ -151,24 +151,35 @@ export function DocumentsHub({ portSlug }: DocumentsHubProps) { } />
- - - +
+ + {selectedFolderId !== undefined && ( + - } - variant="gradient" - /> + )} +
{selectedFolderId === undefined ? ( - + <> + + + + New document + + + } + variant="gradient" + /> + + ) : isEntityFolder && isEntityType(folderEntityType) ? (