From 8d9cf3ca7bc17c89db48e646c0a8bad47de41727 Mon Sep 17 00:00:00 2001 From: Leonardo Mendoza Date: Mon, 27 Nov 2023 22:43:51 -0600 Subject: [PATCH] Fix flag --- src/app/app-routing.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 2a55841ddf..222b3437f4 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -93,7 +93,7 @@ const routes: Routes = [ canMatch: [RegisterTogglGuard], canActivateChild: [LanguageGuard, RegisterGuard], loadChildren: () => { - return localStorage.getItem('REGISTRATION_2_0') !== 'enable' + return localStorage.getItem('REGISTRATION_2_0') !== 'enabled' ? import('./register/register.module').then( (m) => m.RegisterModuleLegacy )