1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 13:55:21 +02:00

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

This reverts commit 6d0aefd7bb.
This commit is contained in:
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

View file

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