From 34f6e11f1dbe55a5bcc8d94f2e245e3ce092603f Mon Sep 17 00:00:00 2001 From: Richard Wei <54336863+WaysonWei@users.noreply.github.com> Date: Thu, 30 Sep 2021 12:59:19 +1300 Subject: [PATCH] fix showing create from application form when create from url (#5724) --- .../views/applications/edit/applicationController.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/kubernetes/views/applications/edit/applicationController.js b/app/kubernetes/views/applications/edit/applicationController.js index eb3f88094..6133b9785 100644 --- a/app/kubernetes/views/applications/edit/applicationController.js +++ b/app/kubernetes/views/applications/edit/applicationController.js @@ -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`; } }