From 4b3d8a1765bdc7c40e50f8708ebee6693ba54053 Mon Sep 17 00:00:00 2001 From: Ishpaul Singh Date: Sat, 7 Sep 2024 02:17:05 +0530 Subject: [PATCH] fixes issue --- .../workspace/categories/WorkspaceCategoriesSettingsPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/workspace/categories/WorkspaceCategoriesSettingsPage.tsx b/src/pages/workspace/categories/WorkspaceCategoriesSettingsPage.tsx index b84a28f00a24..d242a40bbc41 100644 --- a/src/pages/workspace/categories/WorkspaceCategoriesSettingsPage.tsx +++ b/src/pages/workspace/categories/WorkspaceCategoriesSettingsPage.tsx @@ -92,7 +92,7 @@ function WorkspaceCategoriesSettingsPage({policy, route}: WorkspaceCategoriesSet shouldPlaceSubtitleBelowSwitch /> - {!!currentPolicy && listItems && ( + {!!currentPolicy && listItems.length > 0 && ( <> {translate('workspace.categories.defaultSpendCategories')}