Преглед на файлове

`.openFolder()` - return progress indication (#5306)

Evgenia Karunus преди 9 месеца
родител
ревизия
d1c1fefe45
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      packages/@uppy/provider-views/src/ProviderView/ProviderView.tsx

+ 3 - 1
packages/@uppy/provider-views/src/ProviderView/ProviderView.tsx

@@ -228,7 +228,9 @@ export default class ProviderView<M extends Meta, B extends Body> {
         currentPagePath = nextPagePath
         currentItems = currentItems.concat(items)
         this.setLoading(
-          this.plugin.uppy.i18n('loadedXFiles', { numFiles: items.length }),
+          this.plugin.uppy.i18n('loadedXFiles', {
+            numFiles: currentItems.length,
+          }),
         )
       } while (this.opts.loadAllFiles && currentPagePath)