fix: hide explore on s3 objects with download disabled

This commit is contained in:
Guilhem Lemouel
2026-11-25 08:56:46 -08:00
parent 563ad8d1e5
commit ea1cbc19bc
@@ -66,7 +66,8 @@
{previewOpen ? 'Hide preview' : 'Preview'}
</Button>
{/if}
{#if onExplore}
<!-- The file browser has its own Download button, so it would undo disable_download. -->
{#if onExplore && !s3object?.disable_download}
<Tooltip>
<Button
variant="subtle"