Skip to content

Commit 30d1a9a

Browse files
committed
fix: Resolve false positive checkbox selection when editing tagging rules
1 parent dbc47b5 commit 30d1a9a

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

frontend/src/app/data-management/alert-management/shared/components/alert-rule-create/alert-rule-create.component.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -340,13 +340,6 @@ export class AlertRuleCreateComponent implements OnInit, OnDestroy {
340340
getTags() {
341341
this.alertTagService.query({page: 0, size: 100}).subscribe(reponse => {
342342
this.tags = reponse.body;
343-
if (this.isForComplete) {
344-
const index = this.tags.findIndex(value => value.tagName.includes('False positive'));
345-
if (index !== -1) {
346-
this.selected.push(this.tags[0]);
347-
this.formRule.get('tags').setValue(this.selected);
348-
}
349-
}
350343
});
351344
}
352345

0 commit comments

Comments
 (0)