mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Correctly handle empty string valued secrets in SecretDetails (#4079)
This commit is contained in:
1 parent
38276bbbff
commit
b4a4cc6be4
4 files changed
+125
-58
No files matched your search
@@ -27,7 +27,7 @@ import React from "react";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
import { secretsStore } from "../../+config-secrets/secrets.store";
|
||||
import { Secret, ServiceAccount } from "../../../../common/k8s-api/endpoints";
|
||||
import { Secret, SecretType, ServiceAccount } from "../../../../common/k8s-api/endpoints";
|
||||
import { DrawerItem, DrawerTitle } from "../../drawer";
|
||||
import { Icon } from "../../icon";
|
||||
import type { KubeObjectDetailsProps } from "../../kube-object-details";
|
||||
@@ -124,7 +124,8 @@ export class ServiceAccountsDetails extends React.Component<Props> {
|
||||
uid: null,
|
||||
selfLink: null,
|
||||
resourceVersion: null
|
||||
}
|
||||
},
|
||||
type: SecretType.Opaque
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user