fix(File Uploader): call 'upload_files' without passing event object (#25034)

This commit is contained in:
Akash Tom 2024-02-27 12:43:03 +05:30 committed by GitHub
parent 6cf8f4ecae
commit 98fac311a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -188,7 +188,7 @@
/>
</div>
<div class="flex align-center" v-if="show_upload_button && currently_uploading === -1">
<button class="btn btn-primary btn-sm margin-right" @click="upload_files">
<button class="btn btn-primary btn-sm margin-right" @click="() => upload_files()">
<span v-if="files.length === 1">
{{ __("Upload file") }}
</span>