mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
DashNav: Fixes missing key warning caused by public dashboard tag (#55336)
This commit is contained in:
parent
db17a88193
commit
d5e4b08a3a
@ -169,7 +169,9 @@ export const DashNav = React.memo<Props>((props) => {
|
||||
}
|
||||
|
||||
if (dashboard.meta.publicDashboardEnabled) {
|
||||
buttons.push(<Tag name="Public" colorIndex={5} data-testid={selectors.publicDashboardTag}></Tag>);
|
||||
buttons.push(
|
||||
<Tag key="public-dashboard" name="Public" colorIndex={5} data-testid={selectors.publicDashboardTag}></Tag>
|
||||
);
|
||||
}
|
||||
|
||||
if (dashboard.uid && config.featureToggles.dashboardComments) {
|
||||
|
Loading…
Reference in New Issue
Block a user