diff --git a/packages/web/src/components/tabbedPane.tsx b/packages/web/src/components/tabbedPane.tsx index 35c08eb539..2f5208a673 100644 --- a/packages/web/src/components/tabbedPane.tsx +++ b/packages/web/src/components/tabbedPane.tsx @@ -62,8 +62,13 @@ export const TabbedPane: React.FunctionComponent<{ setSelectedTab(tabs[e.currentTarget.selectedIndex].id); }}> {tabs.map(tab => { - return ; - })} + let suffix = ''; + if (tab.count) + suffix = ` (${tab.count})`; + if (tab.errorCount) + suffix = ` (${tab.errorCount})`; + return ; + })} } {rightToolbar &&