mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
231913bcdb
commit
032acf71c6
1 file changed
+2
-2
+2
-2
@@ -45,8 +45,8 @@ const clusterFrameContextForNamespacedResourcesInjectable = getInjectable({
|
|||||||
const namespaces = new Set(contextNamespaces.get());
|
const namespaces = new Set(contextNamespaces.get());
|
||||||
|
|
||||||
return allNamespaces.get().length > 1
|
return allNamespaces.get().length > 1
|
||||||
&& cluster.accessibleNamespaces.length === 0
|
&& cluster.accessibleNamespaces.length === 0
|
||||||
&& allNamespaces.get().every(ns => namespaces.has(ns));
|
&& allNamespaces.get().every(ns => namespaces.has(ns));
|
||||||
});
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in new issue
Block a user