mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* disabling actions for threshold alerts that have default actionType * adding comment per PR feedback
This commit is contained in:
parent
5b40f3a102
commit
23089a5315
1 changed files with 5 additions and 1 deletions
|
@ -30,7 +30,11 @@ app.directive('actionTypeSelect', function ($injector) {
|
|||
|
||||
this.loadActionTypes()
|
||||
.then(actionTypes => {
|
||||
this.actionTypes = actionTypes;
|
||||
this.actionTypes = actionTypes.filter((actionType) => {
|
||||
// 'Action' is the default action type. If an action has the default then it's
|
||||
// not fully implemented and shouldn't be presented to the user.
|
||||
return actionType.typeName !== 'Action';
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue