@thetradeengineorg1/snova-shell-module 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11379,6 +11379,9 @@ class HeaderSideComponent extends CustomAppBaseComponent {
11379
11379
  // this.getActTrackerRecorder();
11380
11380
  if ((localStorage.getItem(LocalStorageProperties.UserModel) != null && localStorage.getItem(LocalStorageProperties.UserModel) != undefined)) {
11381
11381
  this.loadNotifications();
11382
+ var user = JSON.parse(localStorage.getItem(LocalStorageProperties.UserModel));
11383
+ console.log("user", user);
11384
+ this.monitorCompanyrelatedDetails(user);
11382
11385
  }
11383
11386
  let currentCulture = this.cookieService.get(LocalStorageProperties.CurrentCulture);
11384
11387
  const companylan = JSON.parse(this.cookieService.get(LocalStorageProperties.CompanyDetails));
@@ -12169,10 +12172,6 @@ class HeaderSideComponent extends CustomAppBaseComponent {
12169
12172
  this.layoutConf = this.layout.layoutConf;
12170
12173
  // this.themeModel$ = this.store.pipe(select(sharedModuleReducers.getThemeModel));
12171
12174
  //this.store.dispatch(new InitializeAfterLoginData());
12172
- var user = JSON.parse(localStorage.getItem(LocalStorageProperties.UserModel));
12173
- if (user != null) {
12174
- this.monitorCompanyrelatedDetails(user);
12175
- }
12176
12175
  this.loggedInUserId = this.cookieService.get(LocalStorageProperties.CurrentUserId);
12177
12176
  this.getEmployeeIdByUserId();
12178
12177
  let environment = JSON.parse(localStorage.getItem(LocalStorageProperties.Environment));