Merge pull request #1106 from mabashian/1014-team-link-user-permissions

Fixed team links in users permissions tab
This commit is contained in:
Jake McDermott 2018-02-01 18:23:00 -05:00 committed by GitHub
commit d01e6ab8b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,6 +132,9 @@ export default ['$scope', '$rootScope', '$stateParams', 'UserForm', 'Rest',
case 'organization':
$state.go('organizations.edit', { "organization_id": id }, { reload: true });
break;
case 'team':
$state.go('teams.edit', { "team_id": id }, { reload: true });
break;
case 'credential':
$state.go('credentials.edit', { "credential_id": id }, { reload: true });
break;