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( () => {}, () => {}, () => {