Fixed annotations.
This commit is contained in:
@@ -308,7 +308,7 @@ function (angular, _) {
|
||||
skipDependent: true,
|
||||
//only_true: true,
|
||||
filter: {
|
||||
value: showEvents
|
||||
value: 1
|
||||
},
|
||||
selectGroups: ['name'],
|
||||
selectHosts: ['name'],
|
||||
@@ -316,6 +316,10 @@ function (angular, _) {
|
||||
selectLastEvent: 'extend'
|
||||
};
|
||||
|
||||
if (showEvents) {
|
||||
params.filter.value = showEvents;
|
||||
}
|
||||
|
||||
return this.request('trigger.get', params);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user