diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_controls.ts b/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_controls.ts index 218b937b25277..1301b29f80661 100644 --- a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_controls.ts +++ b/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_controls.ts @@ -60,10 +60,10 @@ export const initializeSwimLaneControls = ( }; const swimLaneComparators: StateComparators = { - jobIds: [jobIds, jobIds.next, fastIsEqual], - swimlaneType: [swimlaneType, swimlaneType.next], - viewBy: [viewBy, viewBy.next], - perPage: [perPage, perPage.next], + jobIds: [jobIds, (arg) => jobIds.next(arg), fastIsEqual], + swimlaneType: [swimlaneType, (arg) => swimlaneType.next(arg)], + viewBy: [viewBy, (arg) => viewBy.next(arg)], + perPage: [perPage, (arg) => perPage.next(arg)], }; return {