diff --git a/public/app/features/dashboard/dashgrid/PanelChrome.tsx b/public/app/features/dashboard/dashgrid/PanelChrome.tsx index 4a4669a3950..818dbb6d155 100644 --- a/public/app/features/dashboard/dashgrid/PanelChrome.tsx +++ b/public/app/features/dashboard/dashgrid/PanelChrome.tsx @@ -72,25 +72,17 @@ export class PanelChrome extends PureComponent { } render() { - const { panel, dashboard, getMenuAdditional } = this.props; + const { panel, dashboard } = this.props; const { refreshCounter, timeRange, renderCounter } = this.state; const { datasource, targets } = panel; const PanelComponent = this.props.component; - const panelSpecificMenuOptions = getMenuAdditional(panel); - const additionalMenuItems = panelSpecificMenuOptions.additionalMenuItems || undefined; - const additionalSubMenuItems = panelSpecificMenuOptions.additionalSubMenuItems || undefined; console.log('panelChrome render'); return (
- +
{ {menu.map((menuItem, idx: number) => { return (