Code Review
/
holmes
/
rule-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixed a Filter Bug
[holmes/rule-management.git]
/
rulemgt-frontend
/
src
/
app
/
correlation-ruleList
/
alarmRule.component.ts
diff --git
a/rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts
b/rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts
index
fa69e3c
..
cb413b5
100644
(file)
--- a/
rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts
+++ b/
rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts
@@
-20,8
+20,6
@@
import {RuleRequest} from './ruleRequest';
import {Router} from '@angular/router';
import {AlarmRuleService} from './alarmRule.service';
import {Router} from '@angular/router';
import {AlarmRuleService} from './alarmRule.service';
-declare var jQuery: any;
-
@Component({
selector: 'alarmRule',
templateUrl: './alarmRule.component.html',
@Component({
selector: 'alarmRule',
templateUrl: './alarmRule.component.html',
@@
-69,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
;
}
}
}
}