aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/login
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-25 10:40:01 +0200
committerChocobozzz <me@florianbigard.com>2019-04-25 10:40:01 +0200
commitf3ae606caf74c8a173ce44bf3f913f1488f97d7f (patch)
tree62c5ba100ab8402ee482711b3b411c6ad16f58f9 /client/src/app/login
parentad5718261dba5846802bf91bf848423b1774b04f (diff)
downloadPeerTube-f3ae606caf74c8a173ce44bf3f913f1488f97d7f.tar.gz
PeerTube-f3ae606caf74c8a173ce44bf3f913f1488f97d7f.tar.zst
PeerTube-f3ae606caf74c8a173ce44bf3f913f1488f97d7f.zip
Wait config before loading login/signup
Diffstat (limited to 'client/src/app/login')
-rw-r--r--client/src/app/login/login-routing.module.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/login/login-routing.module.ts b/client/src/app/login/login-routing.module.ts
index 4d8913041..5a41f4e7e 100644
--- a/client/src/app/login/login-routing.module.ts
+++ b/client/src/app/login/login-routing.module.ts
@@ -1,9 +1,8 @@
1import { NgModule } from '@angular/core' 1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router' 2import { RouterModule, Routes } from '@angular/router'
3
4import { MetaGuard } from '@ngx-meta/core' 3import { MetaGuard } from '@ngx-meta/core'
5
6import { LoginComponent } from './login.component' 4import { LoginComponent } from './login.component'
5import { ServerConfigResolver } from '@app/core/routing/server-config-resolver.service'
7 6
8const loginRoutes: Routes = [ 7const loginRoutes: Routes = [
9 { 8 {
@@ -14,6 +13,9 @@ const loginRoutes: Routes = [
14 meta: { 13 meta: {
15 title: 'Login' 14 title: 'Login'
16 } 15 }
16 },
17 resolve: {
18 serverConfigLoaded: ServerConfigResolver
17 } 19 }
18 } 20 }
19] 21]