diff --git a/js/file/FileUpload.stories.svelte b/js/file/FileUpload.stories.svelte new file mode 100644 index 0000000000000..b86a02958a6a9 --- /dev/null +++ b/js/file/FileUpload.stories.svelte @@ -0,0 +1,82 @@ + + + + + + + + + diff --git a/js/file/shared/FileUpload.svelte b/js/file/shared/FileUpload.svelte index 026ea4efcf543..be6c4eaeb9560 100644 --- a/js/file/shared/FileUpload.svelte +++ b/js/file/shared/FileUpload.svelte @@ -67,7 +67,7 @@ label={label || "File"} /> -{#if value && (Array.isArray(value) ? value.length > 0 : false)} +{#if value && (Array.isArray(value) ? value.length > 0 : true)} {:else}