Browse Source

fix(client): resolve type errors

pull/7185/head
KenTandrian 2 weeks ago
parent
commit
9fdb99bae2
  1. 4
      apps/client/src/app/components/rule/rule-settings-dialog/rule-settings-dialog.component.ts

4
apps/client/src/app/components/rule/rule-settings-dialog/rule-settings-dialog.component.ts

@ -34,8 +34,8 @@ export class GfRuleSettingsDialogComponent {
private formBuilder: FormBuilder
) {
this.settingsForm = this.formBuilder.group({
thresholdMax: [this.data.settings.thresholdMax],
thresholdMin: [this.data.settings.thresholdMin]
thresholdMax: [this.data.settings?.thresholdMax],
thresholdMin: [this.data.settings?.thresholdMin]
});
}

Loading…
Cancel
Save