From cb5f14c70d755eac60e1d86c05569a892cffddf2 Mon Sep 17 00:00:00 2001 From: aastha Date: Mon, 6 Jan 2025 17:56:52 +0530 Subject: [PATCH] Minor --- src/app/shared/components/sidemenu/sidemenu.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/shared/components/sidemenu/sidemenu.component.ts b/src/app/shared/components/sidemenu/sidemenu.component.ts index 18189ef65f..f0d61b693c 100644 --- a/src/app/shared/components/sidemenu/sidemenu.component.ts +++ b/src/app/shared/components/sidemenu/sidemenu.component.ts @@ -240,7 +240,7 @@ export class SidemenuComponent implements OnInit { }, { title: 'Cards', - isVisible: (cardOptions.length ? true : false) && !isOnboardingPending, + isVisible: !!cardOptions.length && !isOnboardingPending, icon: 'card', disabled: !isConnected, isDropdownOpen: false, @@ -263,7 +263,7 @@ export class SidemenuComponent implements OnInit { }, { title: 'Team', - isVisible: (teamOptions.length ? true : false) && !isOnboardingPending, + isVisible: !!teamOptions.length && !isOnboardingPending, icon: 'user-three', isDropdownOpen: false, disabled: !isConnected,