Begin new alert rule builder #100
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue