From adfe71bf8eb8f9ae976200ae2144de3950837134 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Sat, 23 Dec 2023 04:31:05 +0200 Subject: [PATCH] [master]: Disable sandbox guard. --- src/app/shared/sandbox.guard.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/shared/sandbox.guard.ts b/src/app/shared/sandbox.guard.ts index be96cb6..4d9c5c9 100644 --- a/src/app/shared/sandbox.guard.ts +++ b/src/app/shared/sandbox.guard.ts @@ -10,6 +10,7 @@ import {properties} from "../../environments/environment"; export class SandboxGuard extends AdminDashboardGuard { canActivateChild(childRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable | Promise | boolean | UrlTree { - return properties.environment != 'beta' || super.canActivateChild(childRoute, state); + return true; + //return properties.environment != 'beta' || super.canActivateChild(childRoute, state); } }