mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
DashNav: add missing key (#81626)
* DashNav: add missing key * DashNav: use more specific key
This commit is contained in:
parent
564a1d32b7
commit
e0054c06fe
@ -188,7 +188,13 @@ export const DashNav = React.memo<Props>((props) => {
|
||||
if (dashboard.meta.publicDashboardEnabled) {
|
||||
// TODO: This will be replaced with the new badge component. Color is required but gets override by css
|
||||
buttons.push(
|
||||
<Badge color="blue" text="Public" className={publicBadgeStyle} data-testid={selectors.publicDashboardTag} />
|
||||
<Badge
|
||||
color="blue"
|
||||
text="Public"
|
||||
key="public-dashboard-button-badge"
|
||||
className={publicBadgeStyle}
|
||||
data-testid={selectors.publicDashboardTag}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user