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
@@ -43,6 +43,8 @@ export class EventListPage implements OnInit {
const location = window.location
const pathname = location.pathname + location.search
this.LoadToApproveEvents()
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')) {