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 committed 2020-08-03 16:54:43 +03:00
1 parent 1d9d4dbad4
commit fe9682cea6
1 file changed
-1
@@ -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
} }
} }