Skip to content

Commit

Permalink
fix: workspace name is always bolded in workspace switcher.
Browse files Browse the repository at this point in the history
Signed-off-by: Krishna Gupta <[email protected]>
  • Loading branch information
Krishna2323 committed Apr 16, 2024
1 parent 8686f6f commit a83becf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/WorkspaceSwitcherPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function WorkspaceSwitcherPage({policies}: WorkspaceSwitcherPageProps) {
type: CONST.ICON_TYPE_WORKSPACE,
},
],
boldStyle: hasUnreadData(policy?.id),
isBold: hasUnreadData(policy?.id),
keyForList: policy?.id,
isPolicyAdmin: PolicyUtils.isPolicyAdmin(policy),
isSelected: policy?.id === activeWorkspaceID,
Expand Down Expand Up @@ -170,7 +170,7 @@ function WorkspaceSwitcherPage({policies}: WorkspaceSwitcherPageProps) {
},
],
brickRoadIndicator: getIndicatorTypeForPolicy(undefined),
boldStyle: hasUnreadData(undefined),
isBold: hasUnreadData(undefined),
};

return (
Expand Down

0 comments on commit a83becf

Please sign in to comment.