1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-12-04 18:56:44 +01:00

fix: close entry export dialog for public sessions

This commit is contained in:
TheGeneralist 2026-10-13 14:49:09 +02:00
parent b4bce15f66
commit e8767d221e
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4

View file

@ -1098,7 +1098,7 @@ export default function ContextRail({ archiveId, selectedEntry, selectedUids, se
</>
)}
<ExportDialog
open={exportOpen}
open={exportOpen && !isPublicSession}
archiveId={archiveId}
entryUids={(() => {
if (!isBulk) return detail ? [detail.summary.entry_uid] : []