@thetradeengineorg1/snova-shell-module 0.0.6 → 0.0.8
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.
- package/bundles/thetradeengineorg1-snova-shell-module.umd.js +5 -6
- package/bundles/thetradeengineorg1-snova-shell-module.umd.js.map +1 -1
- package/esm2015/lib/shell-components/components/header-side/header-side.component.js +6 -7
- package/fesm2015/thetradeengineorg1-snova-shell-module.js +5 -6
- package/fesm2015/thetradeengineorg1-snova-shell-module.js.map +1 -1
- package/lib/shell-components/components/header-side/header-side.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -12607,9 +12607,6 @@
|
|
|
12607
12607
|
// this.getActTrackerRecorder();
|
|
12608
12608
|
if ((localStorage.getItem(LocalStorageProperties.UserModel) != null && localStorage.getItem(LocalStorageProperties.UserModel) != undefined)) {
|
|
12609
12609
|
_this.loadNotifications();
|
|
12610
|
-
var user = JSON.parse(localStorage.getItem(LocalStorageProperties.UserModel));
|
|
12611
|
-
console.log("user", user);
|
|
12612
|
-
_this.monitorCompanyrelatedDetails(user);
|
|
12613
12610
|
}
|
|
12614
12611
|
var currentCulture = _this.cookieService.get(LocalStorageProperties.CurrentCulture);
|
|
12615
12612
|
var companylan = JSON.parse(_this.cookieService.get(LocalStorageProperties.CompanyDetails));
|
|
@@ -13418,6 +13415,10 @@
|
|
|
13418
13415
|
this.layoutConf = this.layout.layoutConf;
|
|
13419
13416
|
// this.themeModel$ = this.store.pipe(select(sharedModuleReducers.getThemeModel));
|
|
13420
13417
|
//this.store.dispatch(new InitializeAfterLoginData());
|
|
13418
|
+
var user = JSON.parse(localStorage.getItem(LocalStorageProperties.UserModel));
|
|
13419
|
+
if (user != null) {
|
|
13420
|
+
this.monitorCompanyrelatedDetails(user);
|
|
13421
|
+
}
|
|
13421
13422
|
this.loggedInUserId = this.cookieService.get(LocalStorageProperties.CurrentUserId);
|
|
13422
13423
|
this.getEmployeeIdByUserId();
|
|
13423
13424
|
var environment = JSON.parse(localStorage.getItem(LocalStorageProperties.Environment));
|
|
@@ -13439,11 +13440,9 @@
|
|
|
13439
13440
|
this.companiesList = user.companiesList;
|
|
13440
13441
|
this.getCompanyDetails(user.companyId);
|
|
13441
13442
|
var company = this.companiesList.filter(function (x) { return x.companyId.toLowerCase() == _this.cookieService.get(LocalStorageProperties.CompanyId).toLowerCase(); });
|
|
13442
|
-
console.log("company", company, this.companiesList);
|
|
13443
|
-
console.log("companyId", this.cookieService.get(LocalStorageProperties.CompanyId));
|
|
13444
|
-
console.log("user", user);
|
|
13445
13443
|
this.selectedCompany = company ? company[0] : null;
|
|
13446
13444
|
this.selectedCompanyName = company ? company[0] ? company[0].companyName : null : null;
|
|
13445
|
+
this.cdRef.detectChanges();
|
|
13447
13446
|
};
|
|
13448
13447
|
HeaderSideComponent.prototype.navigateToDashboards = function () {
|
|
13449
13448
|
var userReference = localStorage.getItem(LocalStorageProperties.UserReferenceId);
|