Skip to content

Commit

Permalink
Update the changegroup action to set_current_group
Browse files Browse the repository at this point in the history
As per an update to the api here: ManageIQ/manageiq-api#176
  • Loading branch information
AllenBW committed Nov 6, 2017
1 parent 3745df5 commit bf56f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/core/navigation/navigation-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export function NavigationController (Text, Navigation, Session, API_BASE, Shopp
function switchGroup (group) {
if (vm.user().user_href && group.id) {
CollectionsApi.post('users', vm.user().user_href.split('/').pop(), {}, {
'action': 'edit',
'action': 'set_current_group',
'current_group': {'id': group.id}
}).then(success, failure)
}
Expand Down

0 comments on commit bf56f85

Please sign in to comment.