mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix loading all namespaces for users with limited cluster access (#2217)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
1 parent
92dfd80889
commit
f18d8618cd
2 files changed
+2
-1
No files matched your search
@@ -272,6 +272,7 @@ export class KubeApi<T extends KubeObject = any> {
|
||||
}
|
||||
|
||||
protected parseResponse(data: KubeJsonApiData | KubeJsonApiData[] | KubeJsonApiDataList, namespace?: string): any {
|
||||
if (!data) return;
|
||||
const KubeObjectConstructor = this.objectConstructor;
|
||||
|
||||
if (KubeObject.isJsonApiData(data)) {
|
||||
|
||||
Reference in new issue
Block a user