File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
x-pack/plugins/security_solution/public/common/containers/matrix_histogram Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,9 @@ export const useMatrixHistogram = ({
6363 const refetch = useRef < inputsModel . Refetch > ( noop ) ;
6464 const abortCtrl = useRef ( new AbortController ( ) ) ;
6565 const [ loading , setLoading ] = useState ( false ) ;
66- const [
67- matrixHistogramRequest ,
68- setMatrixHistogramRequest ,
69- ] = useState < MatrixHistogramRequestOptions > ( {
66+ const [ matrixHistogramRequest , setMatrixHistogramRequest ] = useState <
67+ MatrixHistogramRequestOptions
68+ > ( {
7069 defaultIndex : indexNames ,
7170 factoryQueryType : MatrixHistogramQuery ,
7271 filterQuery : createFilter ( filterQuery ) ,
@@ -171,7 +170,7 @@ export const useMatrixHistogram = ({
171170 } ,
172171 stackByField,
173172 threshold,
174- ...( prevRequest . isPtrIncluded != null ? { isPtrIncluded } : { } ) ,
173+ ...( isPtrIncluded != null ? { isPtrIncluded } : { } ) ,
175174 ...( ! isEmpty ( docValueFields ) ? { docValueFields } : { } ) ,
176175 } ;
177176 if ( ! deepEqual ( prevRequest , myRequest ) ) {
You can’t perform that action at this time.
0 commit comments