@kris701/ez-ui 1.1.18 → 1.1.19
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.
|
@@ -26,7 +26,7 @@ import { v4 } from 'uuid';
|
|
|
26
26
|
import { firstValueFrom, switchMap } from 'rxjs';
|
|
27
27
|
import * as i1$1 from '@angular/common/http';
|
|
28
28
|
import * as i2$2 from '@angular/router';
|
|
29
|
-
import { RouterLink, RouterModule } from '@angular/router';
|
|
29
|
+
import { RouterLink, NavigationEnd, RouterModule } from '@angular/router';
|
|
30
30
|
|
|
31
31
|
class EzUIBooleanInput {
|
|
32
32
|
icon = '';
|
|
@@ -5173,6 +5173,10 @@ class EzUISideBar {
|
|
|
5173
5173
|
constructor(layoutService, router) {
|
|
5174
5174
|
this.layoutService = layoutService;
|
|
5175
5175
|
this.router = router;
|
|
5176
|
+
router.events.subscribe((val) => {
|
|
5177
|
+
if (val instanceof NavigationEnd)
|
|
5178
|
+
this.initialize();
|
|
5179
|
+
});
|
|
5176
5180
|
}
|
|
5177
5181
|
ngOnInit() {
|
|
5178
5182
|
this.initialize();
|