From 285997a8abad968dc5cc8096e8681ee5609b75ad Mon Sep 17 00:00:00 2001 From: Ilya Oleshko Date: Thu, 1 Aug 2024 14:08:31 +0300 Subject: [PATCH] Fixed Bug 69489 - Rooms: Show progress for repeated request Documents, Rooms, Archive and Trash folders --- packages/client/src/components/Article/Body/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/client/src/components/Article/Body/index.js b/packages/client/src/components/Article/Body/index.js index e20f3a0493..df5a9c9930 100644 --- a/packages/client/src/components/Article/Body/index.js +++ b/packages/client/src/components/Article/Body/index.js @@ -44,6 +44,7 @@ import { CategoryType } from "SRC_DIR/helpers/constants"; import { ArticleFolderLoader } from "@docspace/shared/skeletons/article"; import { MEDIA_VIEW_URL } from "@docspace/shared/constants"; import { combineUrl } from "@docspace/shared/utils/combineUrl"; +import { showProgress } from "@docspace/shared/utils/common"; import { openingNewTab } from "@docspace/shared/utils/openingNewTab"; const ArticleBodyContent = (props) => { @@ -187,6 +188,7 @@ const ArticleBodyContent = (props) => { setSelection && setSelection([]); setIsLoading(true, withTimer); + navigate(path, { state }); if (currentDeviceType === DeviceType.mobile) { @@ -314,6 +316,8 @@ export default inject( const setIsLoading = (param, withTimer) => { setIsSectionFilterLoading(param, withTimer); + + if (param && withTimer) showProgress(); }; const { roomsFolderId, archiveFolderId, myFolderId, recycleBinFolderId } =