i-tech-shared-components 1.4.58 → 1.4.59
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.
|
@@ -1980,14 +1980,14 @@ class NewSidebarComponent {
|
|
|
1980
1980
|
this.mobileViewSidebarOpened = false;
|
|
1981
1981
|
}
|
|
1982
1982
|
ngAfterViewInit() {
|
|
1983
|
-
this.detectActivePage();
|
|
1984
|
-
this.detectActiveAndInactiveApps();
|
|
1985
|
-
this.isCollapsed = localStorage.getItem('SidebarCollapsed') === 'true' || false;
|
|
1986
1983
|
this.collapseEvent.emit(this.isCollapsed);
|
|
1987
|
-
this.setAppsUrls();
|
|
1988
1984
|
}
|
|
1989
1985
|
ngOnInit() {
|
|
1986
|
+
this.detectActivePage();
|
|
1987
|
+
this.detectActiveAndInactiveApps();
|
|
1990
1988
|
this.getAllCompanies();
|
|
1989
|
+
this.setAppsUrls();
|
|
1990
|
+
this.isCollapsed = localStorage.getItem('SidebarCollapsed') === 'true' || false;
|
|
1991
1991
|
this.router.events.subscribe(event => {
|
|
1992
1992
|
if (event instanceof NavigationEnd) {
|
|
1993
1993
|
this.detectActivePage();
|