1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

fix source vars population

This commit is contained in:
John Mitchell 2017-07-31 16:41:45 -04:00
parent faa40b23e2
commit 5f02b9269c

View File

@ -158,9 +158,9 @@ export default ['$state', '$stateParams', '$scope', 'ParseVariableString',
varName = source + '_variables';
}
$scope[varName] = $scope[varName] === (null || undefined) ? '---' : $scope[varName];
$scope[varName] = ParseVariableString(inventorySourceData
.source_vars);
ParseVariableString(inventorySourceData.source_vars);
ParseTypeChange({
scope: $scope,
field_id: varName,