uppy/packages/@uppy/provider-views/src
Andrew e40cd018e1
Fix: Incorrect File Added Count (#2439)
On the dashboard, when uploading a folder, if files from that folder are not successfully added, the count would still say they are there

For example, If you're using Google Drive, and upload a folder with 3 images and 2 mp3 files. If you also have a restriction set to only allow images, Dashboard would still read something like "5 Files Added", even though only 3 would be there. I resolved this by making the `addFile` method in the `provider-views` package return a boolean value based on whether or not the file was added successfully. I then created a count variable with the `addFolder` method and added to that count for every successful addition. Using that count instead of the total count of files in the folder fixes this problem

Resolves #2038
2020-08-13 09:34:49 +02:00
..
Item companion,zoom: add implementation for Zoom plugin and Zoom Provider (#2342) 2020-07-30 11:01:21 +01:00
style Dark mode design improvements (#2232) 2020-05-05 18:02:24 +02:00
AuthView.js Upgrade standard to v14 (#1860) 2019-10-09 14:53:02 +02:00
Breadcrumbs.js fix: provider views breadcrumbs is failed to render (#1914) 2019-10-28 11:55:02 +01:00
Browser.js Upgrade standard to v14 (#1860) 2019-10-09 14:53:02 +02:00
Filter.js Refactor FileProgress component (#2303) 2020-06-06 04:10:01 +02:00
FooterActions.js Upgrade standard to v14 (#1860) 2019-10-09 14:53:02 +02:00
index.js Fix: Incorrect File Added Count (#2439) 2020-08-13 09:34:49 +02:00
ItemList.js Upgrade standard to v14 (#1860) 2019-10-09 14:53:02 +02:00
Loader.js Upgrade standard to v14 (#1860) 2019-10-09 14:53:02 +02:00
style.scss Dark mode design improvements (#2232) 2020-05-05 18:02:24 +02:00