Skip to content

Commit

Permalink
fix(FileUploader): upload_files only if auto_upload
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienChampagnol committed Nov 8, 2024
1 parent 3ec291e commit 547983b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/FileUploader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 547983b

Please sign in to comment.