From eb872c48004491d9f5f9bf4e3b2072661cc8f779 Mon Sep 17 00:00:00 2001 From: Giovanni Pellerano Date: Fri, 21 Feb 2025 00:09:20 +0100 Subject: [PATCH] Revise fix abbb8b71d2079a1fad36202038d69e6ff9b58f63 --- client/app/src/pages/whistleblower/form/form.component.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/app/src/pages/whistleblower/form/form.component.ts b/client/app/src/pages/whistleblower/form/form.component.ts index 59e906cf20..93bb4dce13 100644 --- a/client/app/src/pages/whistleblower/form/form.component.ts +++ b/client/app/src/pages/whistleblower/form/form.component.ts @@ -46,13 +46,12 @@ export class FormComponent implements OnInit { initialize() { if (this.step.children) { this.fields = this.step.children; + this.rows = this.fieldUtilitiesService.splitRows(this.fields); } else { this.fields = []; + this.rows = this.step; } - this.stepId = "step-" + this.index; - this.rows = this.fieldUtilitiesService.splitRows(this.fields); - this.status = { opened: false, };