From c53d2a4e5e3431f0b18c751c9afd5fe3d7f530f6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 23 Sep 2016 17:31:41 +0200 Subject: Client: Update ng2-file-upload to the module part --- client/src/app/app.module.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src') 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'; import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; import { ProgressbarModule } from 'ng2-bootstrap/components/progressbar'; import { PaginationModule } from 'ng2-bootstrap/components/pagination'; -import { FileSelectDirective } from 'ng2-file-upload/ng2-file-upload'; +import { FileUploadModule } from 'ng2-file-upload/ng2-file-upload'; /* * Platform and Environment providers/directives/pipes @@ -84,7 +84,6 @@ const APP_PROVIDERS = [ AdminComponent, AppComponent, BytesPipe, - FileSelectDirective, FriendAddComponent, FriendListComponent, FriendsComponent, @@ -113,7 +112,8 @@ const APP_PROVIDERS = [ RouterModule.forRoot(routes), ProgressbarModule, - PaginationModule + PaginationModule, + FileUploadModule ], providers: [ // expose our Services and Providers into Angular's dependency injection ENV_PROVIDERS, -- cgit v1.2.3