From f3ae606caf74c8a173ce44bf3f913f1488f97d7f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 25 Apr 2019 10:40:01 +0200 Subject: Wait config before loading login/signup --- client/src/app/signup/signup-routing.module.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'client/src/app/signup') diff --git a/client/src/app/signup/signup-routing.module.ts b/client/src/app/signup/signup-routing.module.ts index b7ac69b53..820d16d4d 100644 --- a/client/src/app/signup/signup-routing.module.ts +++ b/client/src/app/signup/signup-routing.module.ts @@ -1,9 +1,8 @@ import { NgModule } from '@angular/core' import { RouterModule, Routes } from '@angular/router' - import { MetaGuard } from '@ngx-meta/core' - import { SignupComponent } from './signup.component' +import { ServerConfigResolver } from '@app/core/routing/server-config-resolver.service' const signupRoutes: Routes = [ { @@ -14,6 +13,9 @@ const signupRoutes: Routes = [ meta: { title: 'Signup' } + }, + resolve: { + serverConfigLoaded: ServerConfigResolver } } ] -- cgit v1.2.3