From a83becfc773fb7470c88f19cef99b643c4cd8296 Mon Sep 17 00:00:00 2001 From: Krishna Gupta Date: Tue, 16 Apr 2024 13:17:08 +0530 Subject: [PATCH] fix: workspace name is always bolded in workspace switcher. Signed-off-by: Krishna Gupta --- src/pages/WorkspaceSwitcherPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/WorkspaceSwitcherPage.tsx b/src/pages/WorkspaceSwitcherPage.tsx index f1a439548f1b..f5eee3700490 100644 --- a/src/pages/WorkspaceSwitcherPage.tsx +++ b/src/pages/WorkspaceSwitcherPage.tsx @@ -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, @@ -170,7 +170,7 @@ function WorkspaceSwitcherPage({policies}: WorkspaceSwitcherPageProps) { }, ], brickRoadIndicator: getIndicatorTypeForPolicy(undefined), - boldStyle: hasUnreadData(undefined), + isBold: hasUnreadData(undefined), }; return (