Merge pull request #1851 from influxdata/regression/query-validation
Success / error messages for queries not displayingpull/10616/head
commit
735de51f88
|
@ -45,6 +45,7 @@ const VisView = ({
|
||||||
templates={templates}
|
templates={templates}
|
||||||
cellHeight={heightPixels}
|
cellHeight={heightPixels}
|
||||||
autoRefresh={autoRefresh}
|
autoRefresh={autoRefresh}
|
||||||
|
editQueryStatus={editQueryStatus}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,14 +8,15 @@ const RefreshingLineGraph = AutoRefresh(LineGraph)
|
||||||
const RefreshingSingleStat = AutoRefresh(SingleStat)
|
const RefreshingSingleStat = AutoRefresh(SingleStat)
|
||||||
|
|
||||||
const RefreshingGraph = ({
|
const RefreshingGraph = ({
|
||||||
timeRange,
|
axes,
|
||||||
autoRefresh,
|
|
||||||
templates,
|
|
||||||
synchronizer,
|
|
||||||
type,
|
type,
|
||||||
queries,
|
queries,
|
||||||
|
templates,
|
||||||
|
timeRange,
|
||||||
cellHeight,
|
cellHeight,
|
||||||
axes,
|
autoRefresh,
|
||||||
|
synchronizer,
|
||||||
|
editQueryStatus,
|
||||||
}) => {
|
}) => {
|
||||||
if (type === 'single-stat') {
|
if (type === 'single-stat') {
|
||||||
return (
|
return (
|
||||||
|
@ -43,6 +44,7 @@ const RefreshingGraph = ({
|
||||||
isBarGraph={type === 'bar'}
|
isBarGraph={type === 'bar'}
|
||||||
displayOptions={displayOptions}
|
displayOptions={displayOptions}
|
||||||
synchronizer={synchronizer}
|
synchronizer={synchronizer}
|
||||||
|
editQueryStatus={editQueryStatus}
|
||||||
axes={axes}
|
axes={axes}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
|
@ -58,9 +60,10 @@ RefreshingGraph.propTypes = {
|
||||||
templates: arrayOf(shape()),
|
templates: arrayOf(shape()),
|
||||||
synchronizer: func,
|
synchronizer: func,
|
||||||
type: string.isRequired,
|
type: string.isRequired,
|
||||||
queries: arrayOf(shape()).isRequired,
|
|
||||||
cellHeight: number,
|
cellHeight: number,
|
||||||
axes: shape(),
|
axes: shape(),
|
||||||
|
queries: arrayOf(shape()).isRequired,
|
||||||
|
editQueryStatus: func,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default RefreshingGraph
|
export default RefreshingGraph
|
||||||
|
|
Loading…
Reference in New Issue