ezlibrary_v2 2.0.0 → 2.0.2

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.
@@ -3445,16 +3445,16 @@ class EzHeaderComponent {
3445
3445
  }
3446
3446
  ngOnInit() {
3447
3447
  this.mdlk = JSON.parse(localStorage.getItem('mdlKey'));
3448
- // this.cUrl = window.location.hash;
3449
- // this.cUrl=this.cUrl.replace("#",'');
3448
+ this.cUrl = window.location.hash;
3449
+ this.cUrl = this.cUrl.replace("#", '');
3450
3450
  // Getting the final url
3451
- // this.router.events
3452
- // .filter(e => e instanceof NavigationEnd)
3453
- // .subscribe((navEnd: NavigationEnd) => {
3454
- // this.cUrl = navEnd.urlAfterRedirects;
3455
- // this.menuList();
3456
- // // console.log(this.cUrl);
3457
- // });
3451
+ this.router.events
3452
+ .filter(e => e instanceof NavigationEnd)
3453
+ .subscribe((navEnd) => {
3454
+ this.cUrl = navEnd.urlAfterRedirects;
3455
+ this.menuList();
3456
+ // console.log(this.cUrl);
3457
+ });
3458
3458
  // this.router.events.pipe(filter(e => e instanceof NavigationEnd))
3459
3459
  // .subscribe((navEnd: NavigationEnd) => {
3460
3460
  // this.cUrl = navEnd.urlAfterRedirects;