Pass editQueryStatus action creator
parent
3ef9a6e826
commit
af66bc0a08
|
@ -44,6 +44,7 @@ const VisView = ({
|
|||
templates={templates}
|
||||
cellHeight={heightPixels}
|
||||
autoRefresh={autoRefresh}
|
||||
editQueryStatus={editQueryStatus}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue