From ff1e45c069a3ffa8fdb6022af84e04dec67acdc7 Mon Sep 17 00:00:00 2001 From: maxim Date: Mon, 19 Oct 2026 12:56:42 +0300 Subject: [PATCH] file id as option value for react rendering --- src/layouts/DocumentPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,