This commit is contained in:
2025-11-24 20:19:44 +01:00
parent 66848e8526
commit 4c8ff39305
10 changed files with 130 additions and 109 deletions
@@ -61,7 +61,7 @@ const DocumentsPanelInner: React.FC<DocumentsPanelInnerProps> = ({
onDocumentDragEnd,
onDocumentRename,
onEntryPointer = null,
onInspectDocument = null,
onDocumentActivate = null,
tagLookupById,
activeCorrespondentIds = [],
ensureAssetUrl = null,
@@ -368,9 +368,9 @@ type ZoomSource = { url: string; alt?: string | null; mimeType?: string | null }
handleDocumentPreviewZoom(doc);
return;
}
onInspectDocument?.(doc.id);
onDocumentActivate?.(doc.id);
},
[handleDocumentPreviewZoom, onInspectDocument],
[handleDocumentPreviewZoom, onDocumentActivate],
);
const navigableRows = useMemo(