From c48105022b0731c58d568d2814d8daf0c31dec61 Mon Sep 17 00:00:00 2001 From: Evgeny Stepanovych Date: Fri, 18 Oct 2024 12:57:16 +0200 Subject: [PATCH] NAS-131787: Improper payload on re-saving the form (#10888) --- .../network/components/configuration/configuration.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/pages/network/components/configuration/configuration.component.ts b/src/app/pages/network/components/configuration/configuration.component.ts index 190acc9528d..9cdc5056808 100644 --- a/src/app/pages/network/components/configuration/configuration.component.ts +++ b/src/app/pages/network/components/configuration/configuration.component.ts @@ -311,7 +311,7 @@ export class NetworkConfigurationComponent implements OnInit { } onSubmit(): void { - const values = this.form.value; + const values = { ...this.form.value }; let activity: NetworkConfigurationActivity; if ([NetworkActivityType.Allow, NetworkActivityType.Deny].includes(values.outbound_network_activity)) {