Remove notification informing user that their query cannot be displayed by the SchemaExplorer
parent
92e401b95f
commit
d8a2c940bf
|
@ -44,10 +44,8 @@ import {
|
|||
CellQuery,
|
||||
Legend,
|
||||
Status,
|
||||
Notification,
|
||||
} from 'src/types'
|
||||
import {ErrorHandling} from 'src/shared/decorators/errors'
|
||||
import {notifyBuilderDisabled} from 'src/shared/copy/notifications'
|
||||
|
||||
const staticLegend: Legend = {
|
||||
type: 'static',
|
||||
|
@ -79,7 +77,6 @@ interface Props {
|
|||
gaugeColors: ColorNumber[]
|
||||
lineColors: ColorString[]
|
||||
cell: Cell
|
||||
notify: (notification: Notification) => void
|
||||
}
|
||||
|
||||
interface State {
|
||||
|
@ -393,10 +390,6 @@ class CellEditorOverlay extends Component<Props, State> {
|
|||
|
||||
const isUsingUserDefinedTempVars: boolean = !!userDefinedTempVarsInQuery.length
|
||||
|
||||
if (isUsingUserDefinedTempVars) {
|
||||
this.props.notify(notifyBuilderDisabled())
|
||||
}
|
||||
|
||||
try {
|
||||
const selectedTempVars: Template[] = isUsingUserDefinedTempVars
|
||||
? removeUnselectedTemplateValues(userDefinedTempVarsInQuery)
|
||||
|
|
|
@ -293,7 +293,6 @@ class DashboardPage extends Component {
|
|||
const {zoomedTimeRange} = this.state
|
||||
const {zoomedLower, zoomedUpper} = zoomedTimeRange
|
||||
const {
|
||||
notify,
|
||||
source,
|
||||
sources,
|
||||
timeRange,
|
||||
|
@ -399,7 +398,6 @@ class DashboardPage extends Component {
|
|||
thresholdsListColors={thresholdsListColors}
|
||||
gaugeColors={gaugeColors}
|
||||
lineColors={lineColors}
|
||||
notify={notify}
|
||||
/>
|
||||
) : null}
|
||||
<DashboardHeader
|
||||
|
|
Loading…
Reference in New Issue