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:
parent
1d9d4dbad4
commit
fe9682cea6
@ -34,7 +34,6 @@ export class AddCluster extends React.Component {
|
|||||||
const kubeConfig: string = await getKubeConfigLocal()
|
const kubeConfig: string = await getKubeConfigLocal()
|
||||||
if (kubeConfig) {
|
if (kubeConfig) {
|
||||||
this.kubeConfig = loadConfig(kubeConfig)
|
this.kubeConfig = loadConfig(kubeConfig)
|
||||||
this.customConfig = kubeConfig
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user