mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 20:30:46 -03:30
fixing sources-add function
the params were being sent as a nested function.
This commit is contained in:
parent
e58e593140
commit
cca8f13a2f
@ -108,7 +108,7 @@ export default ['$state', '$stateParams', '$scope', 'SourcesFormDefinition',
|
||||
// // and pass the related endpoint
|
||||
// _.assign(params, { group: res.data.id }), res.data.related.inventory_source))
|
||||
// .then(res => $state.go('inventoryManage.editGroup', { group_id: res.data.group }, { reload: true }));
|
||||
SourcesService.post({params}).then(function(){
|
||||
SourcesService.post(params).then(function(){
|
||||
$state.go('.', null, {reload: true});
|
||||
});
|
||||
// break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user