From d4c79c58a2307478ed976df3f6a0f5a5139bf1fa Mon Sep 17 00:00:00 2001 From: Ludek Novy <13610612+ludeknovy@users.noreply.github.com> Date: Thu, 30 Nov 2023 09:25:57 +0100 Subject: [PATCH] p50 default value fix (#370) --- .../scenario/scenario-settings/scenario-settings.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/scenario/scenario-settings/scenario-settings.component.ts b/src/app/scenario/scenario-settings/scenario-settings.component.ts index 1e11d87d..09558706 100644 --- a/src/app/scenario/scenario-settings/scenario-settings.component.ts +++ b/src/app/scenario/scenario-settings/scenario-settings.component.ts @@ -217,7 +217,7 @@ export class SettingsScenarioComponent implements OnInit { this.requestStatsCormControls.standardDeviation = new FormControl(settings.userSettings.requestStats.standardDeviation || true, [Validators.required]); this.requestStatsCormControls.min = new FormControl(settings.userSettings.requestStats.min, [Validators.required]); this.requestStatsCormControls.max = new FormControl(settings.userSettings.requestStats.max, [Validators.required]); - this.requestStatsCormControls.p50 = new FormControl(settings.userSettings.requestStats.p50, [Validators.required]); + this.requestStatsCormControls.p50 = new FormControl(settings.userSettings.requestStats.p50 || false, [Validators.required]); this.requestStatsCormControls.p90 = new FormControl(settings.userSettings.requestStats.p90, [Validators.required]); this.requestStatsCormControls.p95 = new FormControl(settings.userSettings.requestStats.p95, [Validators.required]); this.requestStatsCormControls.p99 = new FormControl(settings.userSettings.requestStats.p99, [Validators.required]);