Closed davwheat closed 3 years ago
Sometimes, if a file has been uploaded, and the dialog is opened again and cancelled, the ext attempts to upload an empty set of files.
This fails, and shows an error (see video below).
This PR ensures that uploads are only attempted if at least 1 file is selected.
https://user-images.githubusercontent.com/7406822/104103952-fc86ca80-529c-11eb-8ca7-6e3b98962254.mp4
Sometimes, if a file has been uploaded, and the dialog is opened again and cancelled, the ext attempts to upload an empty set of files.
This fails, and shows an error (see video below).
This PR ensures that uploads are only attempted if at least 1 file is selected.
https://user-images.githubusercontent.com/7406822/104103952-fc86ca80-529c-11eb-8ca7-6e3b98962254.mp4