mirror of
https://github.com/microsoft/playwright.git
synced 2024-11-30 23:45:33 +03:00
…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: <img width="348" alt="image" src="https://github.com/user-attachments/assets/d636dca2-5007-41f7-866e-3a0f604d46fc">
This commit is contained in:
parent
4c66f8aeda
commit
4953ac3072
@ -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 <option value={tab.id} selected={tab.id === selectedTab}>{tab.title}{suffix}</option>;
|
||||
})}
|
||||
</select>
|
||||
|
Loading…
Reference in New Issue
Block a user