@@ -1,7 +1,7 @@
(function ($app) {
'use strict';
$app.module('gtPartyApp').controller('showKBDjdsj_dwdtCtrl', function ($scope, $state, $alert, AuthUser, flowaudit, $http, $ocLazyLoad, $loading, $timeout) {
- if (!AuthUser?.getUser()?.Id || AuthUser.getUser().Id == "null") {
+ if (!AuthUser || !AuthUser.getUser().Id || AuthUser.getUser().Id == null || AuthUser.getUser().Id == "null") {
window.location.href = "/app/main/index.html#!/loginkb";
return false;
}
$app.module('gtPartyApp').controller('showKBDjdsjCtrl', function ($scope, $state, $alert, AuthUser, flowaudit, $http, $ocLazyLoad, $loading, $filter) {