From 2c99a4a6572dd6f27fd7927fdb76405871624102 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Wed, 15 Jul 2020 10:36:03 +0000 Subject: [PATCH] [Trunk | Library]: isRouteEnabled.guard.ts: Remove print message for debugging. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59123 d315682c-612b-4755-9ff5-7f18f6832af3 --- error/isRouteEnabled.guard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}});