Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
bistaastha committed Jan 6, 2025
1 parent fbb7a41 commit cb5f14c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/shared/components/sidemenu/sidemenu.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit cb5f14c

Please sign in to comment.