[CCR] Fix follower indices table not updating after pausing (#69228)
This commit is contained in:
parent
55a73616ab
commit
82ce718b01
|
@ -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),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue