Revert "fix toast error (#10724)" (#10786)

This reverts commit 6d0aefd7bb.
pull/10788/head
Ali 2023-12-07 16:40:07 +13:00 committed by GitHub
parent 5761342069
commit b9ff7b6f32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -1140,8 +1140,6 @@ class KubernetesCreateApplicationController {
this.nodesLabels,
this.ingresses
);
this.formValues.Services = this.formValues.Services || [];
this.originalServicePorts = structuredClone(this.formValues.Services.flatMap((service) => service.Ports));
this.originalIngressPaths = structuredClone(this.originalServicePorts.flatMap((port) => port.ingressPaths).filter((ingressPath) => ingressPath.Host));