From 4953ac3072ed3c54fdc65981537952319560f975 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Fri, 2 Aug 2024 10:32:48 -0700 Subject: [PATCH] =?UTF-8?q?cherry-pick(#31975):=20chore:=20remove=20bright?= =?UTF-8?q?=20counter=20from=20sidebar=20tab=20se=E2=80=A6=20(#31976)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …lector Removing the following icon: ![image](https://github.com/user-attachments/assets/d2de2ed0-f66e-4452-8763-aad1b6e7bb79) HTML `options` element cannot be styled, so just removing the counter in sidebar mode: image --- packages/web/src/components/tabbedPane.tsx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/packages/web/src/components/tabbedPane.tsx b/packages/web/src/components/tabbedPane.tsx index d8c557f4c3..bdd04e717c 100644 --- a/packages/web/src/components/tabbedPane.tsx +++ b/packages/web/src/components/tabbedPane.tsx @@ -62,14 +62,10 @@ export const TabbedPane: React.FunctionComponent<{ }}> {tabs.map(tab => { let suffix = ''; - if (tab.count === 1) - suffix = ' 🔵'; - else if (tab.count) - suffix = ` 🔵✖️${tab.count}`; - if (tab.errorCount === 1) - suffix = ` 🔴`; - else if (tab.errorCount) - suffix = ` 🔴✖️${tab.errorCount}`; + if (tab.count) + suffix = ` (${tab.count})`; + if (tab.errorCount) + suffix = ` (${tab.errorCount})`; return ; })}