Skip to content

Commit 83501b5

Browse files
fix(ClusterInfo): do not show response error on cancelled requests
1 parent 8138823 commit 83501b5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/store/reducers/cluster/cluster.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ const cluster: Reducer<ClusterState, ClusterAction> = (state = initialState, act
2626
};
2727
}
2828
case FETCH_CLUSTER.FAILURE: {
29+
if (action.error?.isCancelled) {
30+
return state;
31+
}
32+
2933
return {
3034
...state,
3135
error: action.error,

0 commit comments

Comments
 (0)