mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
responding to comments in #2066
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
parent
23338b3a04
commit
e54a9bb64d
@ -178,7 +178,7 @@ export class Cluster implements ClusterModel, ClusterState {
|
|||||||
*/
|
*/
|
||||||
@observable isAdmin = false;
|
@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
|
* @observable
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -141,7 +141,7 @@ export class KubeWatchApi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
loading: Promise.all(preloading),
|
loading: Promise.allSettled(preloading),
|
||||||
cancelLoading: () => limitRequests.clearQueue(),
|
cancelLoading: () => limitRequests.clearQueue(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user