feat: enhance document export functionality for memory documents and update UI components

This commit is contained in:
Anish Sarkar 2026-05-20 11:57:31 +05:30
parent 43c8aaeaa7
commit 659007bc4d
3 changed files with 48 additions and 5 deletions

View file

@ -254,7 +254,7 @@ export function FolderTreeView({
onDelete={onDeleteDocument}
onMove={onMoveDocument}
onReset={onResetDocument}
onExport={isMemoryDocument ? undefined : onExportDocument}
onExport={onExportDocument}
onVersionHistory={isMemoryDocument ? undefined : onVersionHistory}
canDelete={!isMemoryDocument}
canMove={!isMemoryDocument}