mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-29 00:07:30 +00:00
fix: hide explore on s3 objects with download disabled
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user