diff --git a/superset-frontend/src/explore/components/ExploreChartPanel.jsx b/superset-frontend/src/explore/components/ExploreChartPanel.jsx index 088ee1a0f..d59f05e7e 100644 --- a/superset-frontend/src/explore/components/ExploreChartPanel.jsx +++ b/superset-frontend/src/explore/components/ExploreChartPanel.jsx @@ -172,9 +172,8 @@ const ExploreChartPanel = props => { return ( - {({ width, height }) => - width > 0 && - height > 0 && ( + {({ width }) => + width > 0 && ( {% block tail_js %} - {{ js_bundle('menu') }} + {% if not standalone_mode %} + {{ js_bundle('menu') }} + {% endif %} {% if entry %} {{ js_bundle(entry) }} {% endif %}