diff --git a/src/layouts/DocumentPage.tsx b/src/layouts/DocumentPage.tsx index 661a6d1..0b2846d 100644 --- a/src/layouts/DocumentPage.tsx +++ b/src/layouts/DocumentPage.tsx @@ -47,7 +47,7 @@ export function DocumentPage() { .then((files) => setDocumentOptions( buildDocumentRows(files).map((row) => ({ - value: row.documentId, + value: row.documentId ?? row.fileId, label: row.name, disabled: !row.linkable, row,