zhuth 7 years ago
parent
commit
b40fd4c75a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frontend/saas-web/app/util/BaseUtil.js

+ 1 - 1
frontend/saas-web/app/util/BaseUtil.js

@@ -127,7 +127,7 @@ Ext.define('saas.util.BaseUtil', {
         },
 
         getCurrentUser: function () {
-            return saas.util.State.get('session') ? saas.util.State.get('session').account : null;
+            return saas.util.State.get('session') ? saas.util.State.get('session').account : {};
         },
 
         /**