mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
proper select-all option for NamespaceSelect (#2084)
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
1 parent
ad6de71826
commit
b514e5c833
3 files changed
+22
-5
No files matched your search
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user