diff --git a/src/main/cluster.ts b/src/main/cluster.ts index 6d755f0dc1..cd92ab2650 100644 --- a/src/main/cluster.ts +++ b/src/main/cluster.ts @@ -178,7 +178,7 @@ export class Cluster implements ClusterModel, ClusterState { */ @observable isAdmin = false; /** - * Does watch-api could be used for all resources, e.g. "/api/v1/services?watch=1" + * Global watch-api accessibility , e.g. "/api/v1/services?watch=1" * * @observable */ diff --git a/src/renderer/api/kube-watch-api.ts b/src/renderer/api/kube-watch-api.ts index 813a0f8ccd..d3b2b4512a 100644 --- a/src/renderer/api/kube-watch-api.ts +++ b/src/renderer/api/kube-watch-api.ts @@ -141,7 +141,7 @@ export class KubeWatchApi { } return { - loading: Promise.all(preloading), + loading: Promise.allSettled(preloading), cancelLoading: () => limitRequests.clearQueue(), }; }