This commit is contained in:
Peter Maquiran
2021-08-18 15:42:36 +01:00
parent 2a109b8838
commit 2aba281a60
17 changed files with 26 additions and 8 deletions
@@ -39,7 +39,8 @@ constructor(
ngOnInit() {
// update list
this.LoadList()
this.router.events.forEach((event) => {
if (event instanceof NavigationStart && '/home/gabinete-digital?diplomas=true'.startsWith(event.url)) {
if(window.location.pathname.split('/').length >= 4 && window.location.pathname.startsWith('/home/gabinete-digital')) {