mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 00:00:33 +00:00
fix: make DisplayResult more resilient
This commit is contained in:
@@ -338,7 +338,7 @@
|
||||
{/each}
|
||||
</div>
|
||||
{:else if largeObject}
|
||||
{#if 'filename' in result && 'file' in result}
|
||||
{#if typeof result == 'object' && 'filename' in result && 'file' in result}
|
||||
<div
|
||||
><a
|
||||
download={result.filename ?? result.file?.filename ?? 'windmill.file'}
|
||||
|
||||
Reference in New Issue
Block a user