From adc26aeac5b9a9518e4a0cdb2fef6a3671e027cb Mon Sep 17 00:00:00 2001 From: Rohan Sasne Date: Sat, 23 Mar 2024 04:14:03 +0530 Subject: [PATCH] Fix isLoading issue for list --- src/pages/workspace/categories/WorkspaceCategoriesPage.tsx | 2 +- src/pages/workspace/tags/WorkspaceTagsPage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx b/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx index f3456c3875f5..4e9ce173cc87 100644 --- a/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx +++ b/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx @@ -309,7 +309,7 @@ function WorkspaceCategoriesPage({policy, policyCategories, route}: WorkspaceCat subtitle={translate('workspace.categories.emptyCategories.subtitle')} /> )} - {!shouldShowEmptyState && ( + {!shouldShowEmptyState && !isLoading && ( )} - {tagList.length > 0 && ( + {tagList.length > 0 && !isLoading && (