File tree 1 file changed +2
-2
lines changed
src/plugins/vis_type_timeseries/public/application/components
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export class VisEditor extends Component {
76
76
} ) ;
77
77
} , VIS_STATE_DEBOUNCE_DELAY ) ;
78
78
79
- fetchFields = debounce (
79
+ debouncedFetchFields = debounce (
80
80
( extractedIndexPatterns ) => {
81
81
if ( this . abortControllerFetchFields ) {
82
82
this . abortControllerFetchFields . abort ( ) ;
@@ -107,7 +107,7 @@ export class VisEditor extends Component {
107
107
108
108
const extractedIndexPatterns = extractIndexPatterns ( nextModel ) ;
109
109
if ( ! isEqual ( this . state . extractedIndexPatterns , extractedIndexPatterns ) ) {
110
- this . fetchFields ( extractedIndexPatterns ) . then ( ( visFields ) =>
110
+ this . debouncedFetchFields ( extractedIndexPatterns ) . then ( ( visFields ) =>
111
111
this . setState ( {
112
112
visFields,
113
113
extractedIndexPatterns,
You can’t perform that action at this time.
0 commit comments