@@ -3395,6 +3395,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
// }
$rootScope.getpending = function () {
+ if(!loginUser){return;}
if ($rootScope.userMenus && $rootScope.userMenus.length > 0) {
if ($rootScope.user.group) {
var groupArr = [];