From 1812511de0a1a0f448d6a0a6bd7b6c9674affe27 Mon Sep 17 00:00:00 2001 From: Daniel Ponte Date: Thu, 2 Jan 2025 22:35:25 -0500 Subject: [PATCH] remove dead --- .../talkgroup-record.component.ts | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/client/stillbox/src/app/talkgroups/talkgroup-record/talkgroup-record.component.ts b/client/stillbox/src/app/talkgroups/talkgroup-record/talkgroup-record.component.ts index fd3253f..60e0504 100644 --- a/client/stillbox/src/app/talkgroups/talkgroup-record/talkgroup-record.component.ts +++ b/client/stillbox/src/app/talkgroups/talkgroup-record/talkgroup-record.component.ts @@ -162,23 +162,7 @@ export class TalkgroupRecordComponent { this.form.controls['tagsControl'].setValue(this.tg?.tags ?? []); }), ); - /* - this.subscriptions.add( - this.tgService - .getTalkgroup(Number(this.tgid.sys), Number(this.tgid.tg)) - .subscribe((data: Talkgroup) => { - this.tg = data; - this.form.controls['name'].setValue(this.tg.name); - this.form.controls['alpha_tag'].setValue(this.tg.alpha_tag); - this.form.controls['tg_group'].setValue(this.tg.tg_group); - this.form.controls['frequency'].setValue(this.tg.frequency); - this.form.controls['alert'].setValue(this.tg.alert); - this.form.controls['weight'].setValue(this.tg.weight); - this.form.controls['icon'].setValue(this.tg?.metadata?.icon ?? ''); - this.form.controls['tagInput'].setValue(''); - this.form.controls['tagsControl'].setValue(this.tg?.tags ?? []); - }), - ); */ + this.subscriptions.add( this._allTags.subscribe((event) => { this.allTags = event;