aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/main.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-08-23 14:37:49 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-08-23 14:37:49 +0200
commit0f6da32b148c0f4146b2ae9ad1add9a9f00cc339 (patch)
tree1272a5892e357aa0a0d370545effa6800092d568 /client/src/main.ts
parent39f87cb21689a912559d0498641db7d2de4a784d (diff)
downloadPeerTube-0f6da32b148c0f4146b2ae9ad1add9a9f00cc339.tar.gz
PeerTube-0f6da32b148c0f4146b2ae9ad1add9a9f00cc339.tar.zst
PeerTube-0f6da32b148c0f4146b2ae9ad1add9a9f00cc339.zip
Client: update to new form api
Diffstat (limited to 'client/src/main.ts')
-rw-r--r--client/src/main.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/client/src/main.ts b/client/src/main.ts
index 41fc6e0c2..7c058e12f 100644
--- a/client/src/main.ts
+++ b/client/src/main.ts
@@ -1,4 +1,5 @@
1import { enableProdMode, provide } from '@angular/core'; 1import { enableProdMode, provide } from '@angular/core';
2import { disableDeprecatedForms, provideForms } from '@angular/forms';
2import { 3import {
3 HTTP_PROVIDERS, 4 HTTP_PROVIDERS,
4 RequestOptions, 5 RequestOptions,
@@ -23,6 +24,11 @@ bootstrap(AppComponent, [
23 }, 24 },
24 deps: [ XHRBackend, RequestOptions, AuthService ] 25 deps: [ XHRBackend, RequestOptions, AuthService ]
25 }), 26 }),
27
26 AuthService, 28 AuthService,
27 provideRouter(routes) 29
30 provideRouter(routes),
31
32 disableDeprecatedForms(),
33 provideForms()
28]); 34]);