mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
PanelEditorTabs: adds counter to Query, Alert and Transform (#23645)
This commit is contained in:
@@ -67,7 +67,7 @@ export const Tab: FC<TabProps> = ({ label, active, icon, onChangeTab, counter })
|
||||
<li className={cx(tabsStyles.tabItem, active && tabsStyles.activeStyle)} onClick={onChangeTab}>
|
||||
{icon && <Icon name={icon} />}
|
||||
{label}
|
||||
{!!counter && <Counter value={counter} />}
|
||||
{typeof counter === 'number' && <Counter value={counter} />}
|
||||
</li>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user