[CCR] Fix follower indices table not updating after pausing (#69228)

This commit is contained in:
Alison Goryachev 2020-06-18 15:15:15 -04:00 committed by GitHub
parent 55a73616ab
commit 82ce718b01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -66,7 +66,7 @@ export class FollowerIndicesTable extends PureComponent {
if (prevFollowerIndices !== followerIndices) { if (prevFollowerIndices !== followerIndices) {
return { return {
prevFollowerIndices: followerIndices, prevFollowerIndices: followerIndices,
filteredClusters: getFilteredIndices(followerIndices, queryText), filteredIndices: getFilteredIndices(followerIndices, queryText),
}; };
} }

View file

@ -149,7 +149,6 @@ export const resumeFollowerIndex = (id) =>
scope, scope,
handler: async () => resumeFollowerIndexRequest(id), handler: async () => resumeFollowerIndexRequest(id),
onSuccess(response, dispatch) { onSuccess(response, dispatch) {
console.log('response', response);
/** /**
* We can have 1 or more follower index resume operation * We can have 1 or more follower index resume operation
* that can fail or succeed. We will show 1 toast notification for each. * that can fail or succeed. We will show 1 toast notification for each.