From fecddf7dbd0f34557524dd35faa770c334f4fd0c Mon Sep 17 00:00:00 2001 From: Sylvain Date: Wed, 20 Apr 2022 10:05:50 +0200 Subject: [PATCH] #266 : effacer les alertes --- src/app/dashboard/explore/events/events.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/dashboard/explore/events/events.component.ts b/src/app/dashboard/explore/events/events.component.ts index f0d94b9a5..768e55f86 100644 --- a/src/app/dashboard/explore/events/events.component.ts +++ b/src/app/dashboard/explore/events/events.component.ts @@ -800,7 +800,7 @@ export class EventsComponent implements OnInit { this.alerts.splice(index, 1); let rowIndex = Array.from(this.tbody.rows).findIndex(_row => _row.cells[8].innerHTML === this.alertToEdit._id); this.tbody.deleteRow(rowIndex); - this.inspService.deleteHiveInsp([this.alertToEdit._id]).subscribe( + this.alertService.deleteAlerts([this.alertToEdit._id]).subscribe( () => {}, () => {}, () => {