Begin new alert rule builder #100

Merged
amigan merged 16 commits from alertRuleBuilder91 into trunk 2025-01-11 16:47:07 -05:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit cfd8584c9b - Show all commits

View file

@ -70,7 +70,7 @@ export class Talkgroup {
tags!: string[];
alert!: boolean;
system?: System;
alert_config!: AlertRule[];
alert_rules!: AlertRule[];
weight!: number;
learned?: boolean;
icon?: string;
@ -86,7 +86,7 @@ export class Talkgroup {
metadata: Metadata | null,
tags: string[],
alert: boolean,
alert_config: AlertRule[],
alert_rules: AlertRule[],
weight: number,
system?: System,
learned?: boolean,
@ -122,6 +122,6 @@ export interface TalkgroupUpdate {
metadata: Object | null;
tags: string[] | null;
alert: boolean | null;
alert_config: AlertRule[] | null;
alert_rules: AlertRule[] | null;
weight: number | null;
}

View file

@ -108,7 +108,7 @@
>
</div>
<div class="alert">
<alert-rule-builder [rules]="tg.alert_config" />
<alert-rule-builder [rules]="tg.alert_rules" />
</div>
</form>
} @else {