From 9fdb99bae2943dbcd7d9968baca71a1727dce86f Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Thu, 2 Jul 2026 23:53:59 +0700 Subject: [PATCH] fix(client): resolve type errors --- .../rule-settings-dialog/rule-settings-dialog.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/client/src/app/components/rule/rule-settings-dialog/rule-settings-dialog.component.ts b/apps/client/src/app/components/rule/rule-settings-dialog/rule-settings-dialog.component.ts index 74cc80f26..1a7cf76c3 100644 --- a/apps/client/src/app/components/rule/rule-settings-dialog/rule-settings-dialog.component.ts +++ b/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] }); }