Github user justinleet commented on a diff in the pull request:
https://github.com/apache/metron/pull/803#discussion_r146979225
--- Diff:
metron-interface/metron-alerts/src/app/alerts/alerts-list/tree-view/tree-view.component.ts
---
@@ -337,12 +343,67 @@ export class TreeViewComponent extends
TableViewComponent implements OnChanges {
});
}
+ canCreateMetaAlert(count: number) {
+ if (count > 999) {
--- End diff --
Do we prevent users from adding enough alerts to go over the limit? E.g.
if I have 995 alerts and I try to add 20 more, will the UI prevent it?
---