diff --git a/superset-frontend/src/components/Menu/Menu.tsx b/superset-frontend/src/components/Menu/Menu.tsx index 0497726265d10..831f8b4027e89 100644 --- a/superset-frontend/src/components/Menu/Menu.tsx +++ b/superset-frontend/src/components/Menu/Menu.tsx @@ -213,7 +213,7 @@ export function Menu({ href={section.url} eventKey={index} > - {section.label} + {section.label} ); })} diff --git a/superset-frontend/src/components/Menu/MenuObject.tsx b/superset-frontend/src/components/Menu/MenuObject.tsx index bf66a401ae165..3571507da356a 100644 --- a/superset-frontend/src/components/Menu/MenuObject.tsx +++ b/superset-frontend/src/components/Menu/MenuObject.tsx @@ -42,11 +42,12 @@ export default function MenuObject({ childs, url, index, + icon, }: MenuObjectProps) { if (url) { return ( - {label} + {label} ); } @@ -64,7 +65,7 @@ export default function MenuObject({ href={child.url} eventKey={parseFloat(`${index}.${index1}`)} > -   {child.label} + {child.label} ); }