Pass editQueryStatus action creator

pull/10616/head
Andrew Watkins 2017-08-09 13:23:08 -07:00
parent 3ef9a6e826
commit af66bc0a08
2 changed files with 10 additions and 6 deletions

View File

@ -44,6 +44,7 @@ const VisView = ({
templates={templates}
cellHeight={heightPixels}
autoRefresh={autoRefresh}
editQueryStatus={editQueryStatus}
/>
)
}

View File

@ -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