Added missing function

This commit is contained in:
Jesús Ángel González 2017-12-11 09:33:43 +01:00
parent bc76a1d651
commit 5dc6805021

View File

@ -158,6 +158,13 @@ function ($scope, $location, $rootScope, Notifier, appState, genericReq, apiReq,
.catch(error => notify.error(error.message));
};
$scope.goGroups = agent => {
$rootScope.globalAgent = agent;
$rootScope.comeFrom = 'agents';
$location.search('tab', 'groups');
$location.path('/manager');
};
//Load
try {
$scope.getAgent();