diff --git a/error/isRouteEnabled.guard.ts b/error/isRouteEnabled.guard.ts index 9f665105..a64d3e8c 100644 --- a/error/isRouteEnabled.guard.ts +++ b/error/isRouteEnabled.guard.ts @@ -75,7 +75,7 @@ export class IsRouteEnabled implements CanActivate { //this.config.isPageEnabled(properties, community, '/' + path); this.config.isPageEnabledByState(properties, community, '/'+path); obs - .pipe(tap((enabled) => console.log("aaa: "+enabled))) + //.pipe(tap((enabled) => console.log("aaa: "+enabled))) .pipe(filter(enabled => !enabled)) .subscribe(() => { this.router.navigate([redirect], {queryParams: {'page': path}});