mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 15:58:45 -03:30
Fix revert of log aggregator protocol
This commit is contained in:
@@ -168,6 +168,10 @@ export default [
|
|||||||
populateLogAggregator(flag);
|
populateLogAggregator(flag);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$scope.$on('LOG_AGGREGATOR_PROTOCOL_populated', function(e, data, flag) {
|
||||||
|
populateLogAggregator(flag);
|
||||||
|
});
|
||||||
|
|
||||||
function populateLogAggregator(flag){
|
function populateLogAggregator(flag){
|
||||||
if($scope.$parent.LOG_AGGREGATOR_TYPE !== null) {
|
if($scope.$parent.LOG_AGGREGATOR_TYPE !== null) {
|
||||||
$scope.$parent.LOG_AGGREGATOR_TYPE = _.find($scope.$parent.LOG_AGGREGATOR_TYPE_options, { value: $scope.$parent.LOG_AGGREGATOR_TYPE });
|
$scope.$parent.LOG_AGGREGATOR_TYPE = _.find($scope.$parent.LOG_AGGREGATOR_TYPE_options, { value: $scope.$parent.LOG_AGGREGATOR_TYPE });
|
||||||
|
|||||||
Reference in New Issue
Block a user