Merge pull request #129 from jlmitch5/fixSourceVars

Fix source vars
This commit is contained in:
jlmitch5 2017-08-01 10:41:47 -04:00 committed by GitHub
commit 9b7032709b

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,