diff --git a/ui/src/data_explorer/components/VisView.js b/ui/src/data_explorer/components/VisView.js index 1862405294..1f9ddcdb12 100644 --- a/ui/src/data_explorer/components/VisView.js +++ b/ui/src/data_explorer/components/VisView.js @@ -45,6 +45,7 @@ const VisView = ({ templates={templates} cellHeight={heightPixels} autoRefresh={autoRefresh} + editQueryStatus={editQueryStatus} /> ) } diff --git a/ui/src/shared/components/RefreshingGraph.js b/ui/src/shared/components/RefreshingGraph.js index 56e43857ff..e70ff5b5f1 100644 --- a/ui/src/shared/components/RefreshingGraph.js +++ b/ui/src/shared/components/RefreshingGraph.js @@ -8,14 +8,15 @@ const RefreshingLineGraph = AutoRefresh(LineGraph) const RefreshingSingleStat = AutoRefresh(SingleStat) const RefreshingGraph = ({ - timeRange, - autoRefresh, - templates, - synchronizer, + axes, type, queries, + templates, + timeRange, cellHeight, - axes, + autoRefresh, + synchronizer, + editQueryStatus, }) => { if (type === 'single-stat') { return ( @@ -43,6 +44,7 @@ const RefreshingGraph = ({ isBarGraph={type === 'bar'} displayOptions={displayOptions} synchronizer={synchronizer} + editQueryStatus={editQueryStatus} axes={axes} /> ) @@ -58,9 +60,10 @@ RefreshingGraph.propTypes = { templates: arrayOf(shape()), synchronizer: func, type: string.isRequired, - queries: arrayOf(shape()).isRequired, cellHeight: number, axes: shape(), + queries: arrayOf(shape()).isRequired, + editQueryStatus: func, } export default RefreshingGraph