mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
fixing sources-add function
the params were being sent as a nested function.
This commit is contained in:
@@ -108,7 +108,7 @@ export default ['$state', '$stateParams', '$scope', 'SourcesFormDefinition',
|
|||||||
// // and pass the related endpoint
|
// // and pass the related endpoint
|
||||||
// _.assign(params, { group: res.data.id }), res.data.related.inventory_source))
|
// _.assign(params, { group: res.data.id }), res.data.related.inventory_source))
|
||||||
// .then(res => $state.go('inventoryManage.editGroup', { group_id: res.data.group }, { reload: true }));
|
// .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});
|
$state.go('.', null, {reload: true});
|
||||||
});
|
});
|
||||||
// break;
|
// break;
|
||||||
|
|||||||
Reference in New Issue
Block a user