proper select-all option for NamespaceSelect (#2084)

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman authored and GitHub committed 2021-02-04 19:24:39 +02:00
1 parent ad6de71826
commit b514e5c833
3 files changed
+22 -5

No files matched your search

+1
View File
@@ -70,6 +70,7 @@ export class KubeWatchApi {
return [];
}
// TODO: optimize - check when all namespaces are selected and then request all in one
if (api.isNamespaced && !this.cluster.isGlobalWatchEnabled) {
return this.namespaces.map(namespace => api.getWatchUrl(namespace));
}