diff --git a/x-pack/plugins/aiops/common/api/stream_reducer.ts b/x-pack/plugins/aiops/common/api/stream_reducer.ts index 5e37df418c6a..597527e80dae 100644 --- a/x-pack/plugins/aiops/common/api/stream_reducer.ts +++ b/x-pack/plugins/aiops/common/api/stream_reducer.ts @@ -37,7 +37,7 @@ export function streamReducer( case API_ACTION_NAME.ADD_CHANGE_POINTS_HISTOGRAM: const changePoints = state.changePoints.map((cp) => { const cpHistogram = action.payload.find( - (h) => h.fieldName === cp.fieldName && h.fieldValue && cp.fieldName + (h) => h.fieldName === cp.fieldName && h.fieldValue === cp.fieldValue ); if (cpHistogram) { cp.histogram = cpHistogram.histogram;