From d1c1fefe458afda47110e13796a74fb0c637ea63 Mon Sep 17 00:00:00 2001 From: Evgenia Karunus Date: Wed, 3 Jul 2024 17:22:53 +0500 Subject: [PATCH] `.openFolder()` - return progress indication (#5306) --- .../@uppy/provider-views/src/ProviderView/ProviderView.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/@uppy/provider-views/src/ProviderView/ProviderView.tsx b/packages/@uppy/provider-views/src/ProviderView/ProviderView.tsx index ede9b56e38..12389f4bdf 100644 --- a/packages/@uppy/provider-views/src/ProviderView/ProviderView.tsx +++ b/packages/@uppy/provider-views/src/ProviderView/ProviderView.tsx @@ -228,7 +228,9 @@ export default class ProviderView { 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)