File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
src/plugins/vis_type_timeseries/public/application/components Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 2020import PropTypes from 'prop-types' ;
2121import React from 'react' ;
2222import _ from 'lodash' ;
23- import { i18n } from '@kbn/i18n' ;
2423
2524import { TimeseriesVisualization } from './vis_types/timeseries/vis' ;
2625import { metric } from './vis_types/metric/vis' ;
@@ -44,13 +43,6 @@ export function Visualization(props) {
4443 const { visData, model } = props ;
4544 // Show the error panel
4645 const error = _ . get ( visData , `${ model . id } .error` ) ;
47- if ( _ . get ( error , 'error.type' ) === 'index_not_found_exception' ) {
48- const index = _ . get ( error , 'error.index' ) ;
49- error . message = i18n . translate ( 'visTypeTimeseries.error.missingIndexErrorMessage' , {
50- defaultMessage : 'Index "{index}" is missing' ,
51- values : { index } ,
52- } ) ;
53- }
5446 if ( error ) {
5547 return (
5648 < div className = { props . className } >
You can’t perform that action at this time.
0 commit comments