Fixed a Filter Bug 21/63721/2
authorGuangrongFu <fu.guangrong@zte.com.cn>
Thu, 30 Aug 2018 08:20:14 +0000 (16:20 +0800)
committerGuangrongFu <fu.guangrong@zte.com.cn>
Thu, 30 Aug 2018 10:37:17 +0000 (18:37 +0800)
Change-Id: I2a254844ad67913ed502c566f314ea12dc3a082c
Issue-ID: HOLMES-163
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts

index a8a4c07..cb413b5 100644 (file)
@@ -67,7 +67,7 @@ export class AlarmRule implements OnInit {
       this.ruleRequest.enabled = 0;
     } else {
       this.activeText = "option_all";
       this.ruleRequest.enabled = 0;
     } else {
       this.activeText = "option_all";
-      this.ruleRequest.enabled = null;
+      this.ruleRequest.enabled = 2;
     }
   }
 
     }
   }