mirror of https://github.com/portainer/portainer
fix showing create from application form when create from url (#5724)
parent
2ecc8ab5c9
commit
34f6e11f1d
|
@ -273,7 +273,9 @@ class KubernetesApplicationController {
|
||||||
if (this.application.ApplicationKind === this.KubernetesDeploymentTypes.GIT) {
|
if (this.application.ApplicationKind === this.KubernetesDeploymentTypes.GIT) {
|
||||||
this.state.appType = `git repository`;
|
this.state.appType = `git repository`;
|
||||||
} else if (this.application.ApplicationKind === this.KubernetesDeploymentTypes.CONTENT) {
|
} 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`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue