From 03b249db97015a6ff5113de1b97b1796aa1ebecb Mon Sep 17 00:00:00 2001 From: Aneri Bania Date: Fri, 10 Jun 2022 12:55:00 +0530 Subject: [PATCH 1/2] XOR-213 [FIX] Ensure progress bar updated when restore file/folder happens --- js/interface.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/interface.js b/js/interface.js index afac190..3ad5315 100644 --- a/js/interface.js +++ b/js/interface.js @@ -1916,7 +1916,11 @@ $('.file-manager-wrapper') ? { appId: $(this).data('app-id') } : { orgId: $(this).data('org-id') }; - toggleStorageUsage($(this)); + if(rootId.appId) { + updateAppMetrics(rootId.appId).then(function() { + toggleStorageUsage(); + }); + } navigateToRootFolder(rootId); }) From 77df77333e9bd1c0e13d3ef27d9e717566858937 Mon Sep 17 00:00:00 2001 From: Aneri Bania Date: Mon, 13 Jun 2022 14:39:22 +0530 Subject: [PATCH 2/2] XOR-213 [FIX] Ensure eslinting --- js/interface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/interface.js b/js/interface.js index 3ad5315..27b864b 100644 --- a/js/interface.js +++ b/js/interface.js @@ -1916,7 +1916,7 @@ $('.file-manager-wrapper') ? { appId: $(this).data('app-id') } : { orgId: $(this).data('org-id') }; - if(rootId.appId) { + if (rootId.appId) { updateAppMetrics(rootId.appId).then(function() { toggleStorageUsage(); });