From 82ce718b013b88537b7f3a62d5bad105f28503c6 Mon Sep 17 00:00:00 2001 From: Alison Goryachev Date: Thu, 18 Jun 2020 15:15:15 -0400 Subject: [PATCH] [CCR] Fix follower indices table not updating after pausing (#69228) --- .../components/follower_indices_table/follower_indices_table.js | 2 +- .../public/app/store/actions/follower_index.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/follower_indices_table.js b/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/follower_indices_table.js index 183609355fdf..0c57b3f7330c 100644 --- a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/follower_indices_table.js +++ b/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/follower_indices_table.js @@ -66,7 +66,7 @@ export class FollowerIndicesTable extends PureComponent { if (prevFollowerIndices !== followerIndices) { return { prevFollowerIndices: followerIndices, - filteredClusters: getFilteredIndices(followerIndices, queryText), + filteredIndices: getFilteredIndices(followerIndices, queryText), }; } diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/actions/follower_index.js b/x-pack/plugins/cross_cluster_replication/public/app/store/actions/follower_index.js index 1af5a95a29b9..d7f03931474e 100644 --- a/x-pack/plugins/cross_cluster_replication/public/app/store/actions/follower_index.js +++ b/x-pack/plugins/cross_cluster_replication/public/app/store/actions/follower_index.js @@ -149,7 +149,6 @@ export const resumeFollowerIndex = (id) => scope, handler: async () => resumeFollowerIndexRequest(id), onSuccess(response, dispatch) { - console.log('response', response); /** * We can have 1 or more follower index resume operation * that can fail or succeed. We will show 1 toast notification for each.