file id as option value for react rendering

This commit is contained in:
maxim 2026-10-19 12:56:42 +03:00
parent 0242486eac
commit ff1e45c069

View File

@ -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,