Remove notification informing user that their query cannot be displayed by the SchemaExplorer

pull/10616/head
Iris Scholten 2018-05-01 17:11:46 -07:00
parent 92e401b95f
commit d8a2c940bf
2 changed files with 0 additions and 9 deletions

View File

@ -44,10 +44,8 @@ import {
CellQuery, CellQuery,
Legend, Legend,
Status, Status,
Notification,
} from 'src/types' } from 'src/types'
import {ErrorHandling} from 'src/shared/decorators/errors' import {ErrorHandling} from 'src/shared/decorators/errors'
import {notifyBuilderDisabled} from 'src/shared/copy/notifications'
const staticLegend: Legend = { const staticLegend: Legend = {
type: 'static', type: 'static',
@ -79,7 +77,6 @@ interface Props {
gaugeColors: ColorNumber[] gaugeColors: ColorNumber[]
lineColors: ColorString[] lineColors: ColorString[]
cell: Cell cell: Cell
notify: (notification: Notification) => void
} }
interface State { interface State {
@ -393,10 +390,6 @@ class CellEditorOverlay extends Component<Props, State> {
const isUsingUserDefinedTempVars: boolean = !!userDefinedTempVarsInQuery.length const isUsingUserDefinedTempVars: boolean = !!userDefinedTempVarsInQuery.length
if (isUsingUserDefinedTempVars) {
this.props.notify(notifyBuilderDisabled())
}
try { try {
const selectedTempVars: Template[] = isUsingUserDefinedTempVars const selectedTempVars: Template[] = isUsingUserDefinedTempVars
? removeUnselectedTemplateValues(userDefinedTempVarsInQuery) ? removeUnselectedTemplateValues(userDefinedTempVarsInQuery)

View File

@ -293,7 +293,6 @@ class DashboardPage extends Component {
const {zoomedTimeRange} = this.state const {zoomedTimeRange} = this.state
const {zoomedLower, zoomedUpper} = zoomedTimeRange const {zoomedLower, zoomedUpper} = zoomedTimeRange
const { const {
notify,
source, source,
sources, sources,
timeRange, timeRange,
@ -399,7 +398,6 @@ class DashboardPage extends Component {
thresholdsListColors={thresholdsListColors} thresholdsListColors={thresholdsListColors}
gaugeColors={gaugeColors} gaugeColors={gaugeColors}
lineColors={lineColors} lineColors={lineColors}
notify={notify}
/> />
) : null} ) : null}
<DashboardHeader <DashboardHeader