You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metron.apache.org by sa...@apache.org on 2019/10/31 17:13:45 UTC

[metron] branch master updated: METRON-2294 [UI] Fixing Stale mode issue in Alert UI Manual Query Mode (subhashjha35 via sardell) closes apache/metron#1540

This is an automated email from the ASF dual-hosted git repository.

sardell 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 581a43f  METRON-2294 [UI] Fixing Stale mode issue in Alert UI Manual Query Mode (subhashjha35 via sardell) closes apache/metron#1540
581a43f is described below

commit 581a43f870de3940cadd9cf8170d43a598f89640
Author: subhashjha35 <su...@gmail.com>
AuthorDate: Thu Oct 31 12:13:19 2019 -0500

    METRON-2294 [UI] Fixing Stale mode issue in Alert UI Manual Query Mode (subhashjha35 via sardell) closes apache/metron#1540
---
 .../metron-alerts/src/app/alerts/alerts-list/alerts-list.component.ts   | 2 +-
 1 file changed, 1 insertion(+), 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 1e329a5..b27083a 100755
--- 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
@@ -77,7 +77,7 @@ export class AlertsListComponent implements OnInit, OnDestroy {
   private manualQueryFieldChangeSubs: Subscription;
   private manualQueryInputEl: ElementRef;
   @ViewChild('manualQuery') set manualQuery(el: ElementRef) {
-    if (el && !this.manualQueryInputEl) {
+    if (el) {
       this.manualQueryInputEl = el;
       this.manualQueryFieldChangeSubs = this.addManualQueryFieldChangeStream(el.nativeElement);
     }