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