i-tech-shared-components 1.4.58 → 1.4.60
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.
|
@@ -292,6 +292,7 @@ var RoleEnum;
|
|
|
292
292
|
RoleEnum["ROLE_TMT_DISPATCHER"] = "ROLE_TMT_DISPATCHER";
|
|
293
293
|
RoleEnum["ROLE_TMT_DRIVER"] = "ROLE_TMT_DRIVER";
|
|
294
294
|
RoleEnum["ROLE_T3_DRIVER"] = "ROLE_T3_DRIVER";
|
|
295
|
+
RoleEnum["ROLE_OPS_MANAGER"] = "ROLE_OPS_MANAGER";
|
|
295
296
|
})(RoleEnum || (RoleEnum = {}));
|
|
296
297
|
var CompaniesEnum;
|
|
297
298
|
(function (CompaniesEnum) {
|
|
@@ -1980,14 +1981,14 @@ class NewSidebarComponent {
|
|
|
1980
1981
|
this.mobileViewSidebarOpened = false;
|
|
1981
1982
|
}
|
|
1982
1983
|
ngAfterViewInit() {
|
|
1983
|
-
this.detectActivePage();
|
|
1984
|
-
this.detectActiveAndInactiveApps();
|
|
1985
|
-
this.isCollapsed = localStorage.getItem('SidebarCollapsed') === 'true' || false;
|
|
1986
1984
|
this.collapseEvent.emit(this.isCollapsed);
|
|
1987
|
-
this.setAppsUrls();
|
|
1988
1985
|
}
|
|
1989
1986
|
ngOnInit() {
|
|
1987
|
+
this.detectActivePage();
|
|
1988
|
+
this.detectActiveAndInactiveApps();
|
|
1990
1989
|
this.getAllCompanies();
|
|
1990
|
+
this.setAppsUrls();
|
|
1991
|
+
this.isCollapsed = localStorage.getItem('SidebarCollapsed') === 'true' || false;
|
|
1991
1992
|
this.router.events.subscribe(event => {
|
|
1992
1993
|
if (event instanceof NavigationEnd) {
|
|
1993
1994
|
this.detectActivePage();
|