This commit is contained in:
Peter Maquiran
2021-08-18 14:56:41 +01:00
parent 6cb86f2760
commit 2a109b8838
2 changed files with 5 additions and 1 deletions
@@ -38,6 +38,8 @@ export class ExpedientePage implements OnInit {
const location = window.location
const pathname = location.pathname + location.search
this.LoadList()
this.router.events.forEach((event) => {
if (event instanceof NavigationStart && event.url.startsWith(pathname)) {
if(window.location.pathname.split('/').length >= 4 && window.location.pathname.startsWith('/home/gabinete-digital')) {