diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-09-23 17:31:41 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-09-23 17:31:41 +0200 |
commit | c53d2a4e5e3431f0b18c751c9afd5fe3d7f530f6 (patch) | |
tree | 86c4e6b2635ecfacbac1c0f0ab1661784f11f2bc /client/src/app | |
parent | bed3143eb9e16079b9614446572525e3f69b76a8 (diff) | |
download | PeerTube-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.ts | 6 |
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'; | |||
8 | import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; | 8 | import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; |
9 | import { ProgressbarModule } from 'ng2-bootstrap/components/progressbar'; | 9 | import { ProgressbarModule } from 'ng2-bootstrap/components/progressbar'; |
10 | import { PaginationModule } from 'ng2-bootstrap/components/pagination'; | 10 | import { PaginationModule } from 'ng2-bootstrap/components/pagination'; |
11 | import { FileSelectDirective } from 'ng2-file-upload/ng2-file-upload'; | 11 | import { 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, |