From 28a57cf04d7da21df4d97aeb6b62810113c112cd Mon Sep 17 00:00:00 2001 From: Hayata Suenaga Date: Tue, 23 Apr 2024 10:32:20 -0700 Subject: [PATCH] fix: use boolean condition Co-authored-by: Abdelhafidh Belalia <16493223+s77rt@users.noreply.github.com> --- src/pages/workspace/categories/WorkspaceCategoriesPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx b/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx index 6809c70f1f34..96f2415cae86 100644 --- a/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx +++ b/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx @@ -281,7 +281,7 @@ function WorkspaceCategoriesPage({policy, route}: WorkspaceCategoriesPageProps) /> {isSmallScreenWidth && {getHeaderButtons()}} - {Object.keys(policy?.connections ?? {}).length ? ( + {Object.keys(policy?.connections ?? {}).length > 0 ? ( {`${translate('workspace.categories.importedFromAccountingSoftware')} `}