From 547983b62a3ad0ed2508485fd8e4360ef0c64ddf Mon Sep 17 00:00:00 2001 From: JulienChampagnol Date: Fri, 8 Nov 2024 13:29:02 +0100 Subject: [PATCH] fix(FileUploader): upload_files only if auto_upload --- components/FileUploader.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/FileUploader.vue b/components/FileUploader.vue index f9d493b..5297ec9 100644 --- a/components/FileUploader.vue +++ b/components/FileUploader.vue @@ -82,9 +82,11 @@ toggle_loading() } - if (props.files.length && props.auto_upload) { + if (props.files.length) { files.value = props.files - upload_files() + if (props.auto_upload) { + upload_files() + } } function clear() {