File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
client/src/components/setup Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -251,12 +251,14 @@ users:
251251 dotenvFile += ` ${key }=${this .dotenv [key ]}\n `
252252 }
253253 }
254- return YAML . stringify ( this . dotenv )
254+ return dotenvFile
255255 },
256256 actionValidation(): boolean | ' next' | ' prev' {
257257 if (this .kubeconfigValid && this .step === ' 1' ) {
258258 return ' prev'
259- } else if (this .saveSuccess == ' ok' && this .step === ' 2' ) {
259+ } else if (this .saveSuccess != ' ok' && this .step === ' 2' ) {
260+ return ' next'
261+ }else if (this .saveSuccess == ' ok' && this .step === ' 2' ) {
260262 return false
261263 } else if (this .step === ' 3' ) {
262264 return ' next'
@@ -343,7 +345,8 @@ users:
343345 },
344346 async validateKubeconfig(): Promise <boolean > {
345347 if (this .kubeConfig === ' ' ) {
346- this .kubeconfigError = ' kubeconfig is empty'
348+ // this.kubeconfigError = 'kubeconfig is empty'
349+ this .kubeconfigError = ' '
347350 return false
348351 }
349352 if (this .kubeContext === ' ' ) {
You can’t perform that action at this time.
0 commit comments