metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickal...@apache.org
Subject [metron] branch master updated: METRON-1941 Alert Escalation Not Consistent in Alerts UI (ruffle1986 via nickwallen) closes apache/metron#1306
Date Fri, 21 Dec 2018 20:23:05 GMT
This is an automated email from the ASF dual-hosted git repository.

nickallen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/metron.git


The following commit(s) were added to refs/heads/master by this push:
     new adbe945  METRON-1941 Alert Escalation Not Consistent in Alerts UI (ruffle1986 via
nickwallen) closes apache/metron#1306
adbe945 is described below

commit adbe94530e0783aeee976e765e3e57c0907c2854
Author: ruffle1986 <ftamas.mail@gmail.com>
AuthorDate: Fri Dec 21 15:22:35 2018 -0500

    METRON-1941 Alert Escalation Not Consistent in Alerts UI (ruffle1986 via nickwallen) closes
apache/metron#1306
---
 .../metron-alerts/src/app/alerts/alerts-list/alerts-list.component.ts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/metron-interface/metron-alerts/src/app/alerts/alerts-list/alerts-list.component.ts
b/metron-interface/metron-alerts/src/app/alerts/alerts-list/alerts-list.component.ts
index fcc129f..20c3a19 100644
--- a/metron-interface/metron-alerts/src/app/alerts/alerts-list/alerts-list.component.ts
+++ b/metron-interface/metron-alerts/src/app/alerts/alerts-list/alerts-list.component.ts
@@ -289,8 +289,10 @@ export class AlertsListComponent implements OnInit, OnDestroy {
   }
 
   processEscalate() {
-    this.updateService.updateAlertState(this.selectedAlerts, 'ESCALATE', false).subscribe(results
=> {
+    this.updateService.updateAlertState(this.selectedAlerts, 'ESCALATE', false).subscribe(()
=> {
+      const alerts = [...this.selectedAlerts];
       this.updateSelectedAlertStatus('ESCALATE');
+      this.alertsService.escalate(alerts).subscribe();
     });
   }
 


Mime
View raw message