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]);