[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
This commit is contained in:
konstantina.galouni 2020-07-15 10:36:03 +00:00
parent 150efc1cfb
commit 2c99a4a657
1 changed files with 1 additions and 1 deletions

View File

@ -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}});