From 69128e916728536f3907a93fd34c5662a93b4bfe Mon Sep 17 00:00:00 2001 From: Alison Goryachev Date: Thu, 18 Jun 2020 17:09:44 -0400 Subject: [PATCH] [7.x] [CCR] Fix follower indices table not updating after pausing (#69228) (#69562) --- .../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 183609355fdfd..0c57b3f7330cf 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 1af5a95a29b98..d7f03931474ee 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.