From a04131399f68f4bba0cd494bd4a719199fb692b8 Mon Sep 17 00:00:00 2001 From: Rudhra Deep Biswas <98055396+rudeUltra@users.noreply.github.com> Date: Mon, 12 Aug 2024 14:13:30 +0530 Subject: [PATCH] search bar loading bug (#10618) --- frontend/src/HomePage/HomePage.jsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/frontend/src/HomePage/HomePage.jsx b/frontend/src/HomePage/HomePage.jsx index 22296f6290..5a84a84193 100644 --- a/frontend/src/HomePage/HomePage.jsx +++ b/frontend/src/HomePage/HomePage.jsx @@ -25,7 +25,6 @@ import { getQueryParams } from '@/_helpers/routes'; import { withRouter } from '@/_hoc/withRouter'; import FolderFilter from './FolderFilter'; import { APP_ERROR_TYPE } from '@/_helpers/error_constants'; -import Skeleton, { SkeletonTheme } from 'react-loading-skeleton'; import { fetchAndSetWindowTitle, pageTitles } from '@white-label/whiteLabelling'; import HeaderSkeleton from '@/_ui/FolderSkeleton/HeaderSkeleton'; @@ -857,8 +856,12 @@ class HomePageComponent extends React.Component { {isLoading && !appSearchKey && } {(meta?.total_count > 0 || appSearchKey) && ( <> - -
+ {!(isLoading && !appSearchKey) && ( + <> + +
+ + )}
{currentFolder?.count ?? meta?.total_count} APPS