aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-09-23 17:31:41 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-09-23 17:31:41 +0200
commitc53d2a4e5e3431f0b18c751c9afd5fe3d7f530f6 (patch)
tree86c4e6b2635ecfacbac1c0f0ab1661784f11f2bc /client/src/app
parentbed3143eb9e16079b9614446572525e3f69b76a8 (diff)
downloadPeerTube-c53d2a4e5e3431f0b18c751c9afd5fe3d7f530f6.tar.gz
PeerTube-c53d2a4e5e3431f0b18c751c9afd5fe3d7f530f6.tar.zst
PeerTube-c53d2a4e5e3431f0b18c751c9afd5fe3d7f530f6.zip
Client: Update ng2-file-upload to the module part
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/app.module.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts
index f9a9ae760..980625f13 100644
--- a/client/src/app/app.module.ts
+++ b/client/src/app/app.module.ts
@@ -8,7 +8,7 @@ import { removeNgStyles, createNewHosts } from '@angularclass/hmr';
8import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; 8import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe';
9import { ProgressbarModule } from 'ng2-bootstrap/components/progressbar'; 9import { ProgressbarModule } from 'ng2-bootstrap/components/progressbar';
10import { PaginationModule } from 'ng2-bootstrap/components/pagination'; 10import { PaginationModule } from 'ng2-bootstrap/components/pagination';
11import { FileSelectDirective } from 'ng2-file-upload/ng2-file-upload'; 11import { FileUploadModule } from 'ng2-file-upload/ng2-file-upload';
12 12
13/* 13/*
14 * Platform and Environment providers/directives/pipes 14 * Platform and Environment providers/directives/pipes
@@ -84,7 +84,6 @@ const APP_PROVIDERS = [
84 AdminComponent, 84 AdminComponent,
85 AppComponent, 85 AppComponent,
86 BytesPipe, 86 BytesPipe,
87 FileSelectDirective,
88 FriendAddComponent, 87 FriendAddComponent,
89 FriendListComponent, 88 FriendListComponent,
90 FriendsComponent, 89 FriendsComponent,
@@ -113,7 +112,8 @@ const APP_PROVIDERS = [
113 RouterModule.forRoot(routes), 112 RouterModule.forRoot(routes),
114 113
115 ProgressbarModule, 114 ProgressbarModule,
116 PaginationModule 115 PaginationModule,
116 FileUploadModule
117 ], 117 ],
118 providers: [ // expose our Services and Providers into Angular's dependency injection 118 providers: [ // expose our Services and Providers into Angular's dependency injection
119 ENV_PROVIDERS, 119 ENV_PROVIDERS,