fix showing create from application form when create from url (#5724)

pull/5643/head
Richard Wei 2021-09-30 12:59:19 +13:00 committed by GitHub
parent 2ecc8ab5c9
commit 34f6e11f1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -273,7 +273,9 @@ class KubernetesApplicationController {
if (this.application.ApplicationKind === this.KubernetesDeploymentTypes.GIT) {
this.state.appType = `git repository`;
} else if (this.application.ApplicationKind === this.KubernetesDeploymentTypes.CONTENT) {
this.state.appType = `web editor`;
this.state.appType = `manifest`;
} else if (this.application.ApplicationKind === this.KubernetesDeploymentTypes.URL) {
this.state.appType = `manifest`;
}
}