1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix: When selecting Custom option when adding new cluster, Kubeconfig field is pre-filled with default kubeconfig

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman 2020-08-03 16:54:43 +03:00
parent 1d9d4dbad4
commit fe9682cea6

View File

@ -34,7 +34,6 @@ export class AddCluster extends React.Component {
const kubeConfig: string = await getKubeConfigLocal()
if (kubeConfig) {
this.kubeConfig = loadConfig(kubeConfig)
this.customConfig = kubeConfig
}
}