From d396a937b642d616beb72dde54c0c2d37c7e8c30 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 29 Dec 2016 17:34:29 +0100 Subject: Client: upgrade angular dep' --- client/src/app/shared/shared.module.ts | 19 ++++++++++--------- .../app/videos/video-watch/video-magnet.component.ts | 2 +- .../app/videos/video-watch/video-share.component.ts | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) (limited to 'client/src/app') diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index 141922322..748c5d520 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts @@ -5,10 +5,10 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { RouterModule } from '@angular/router'; import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; -import { DropdownModule } from 'ng2-bootstrap/components/dropdown'; -import { ProgressbarModule } from 'ng2-bootstrap/components/progressbar'; -import { PaginationModule } from 'ng2-bootstrap/components/pagination'; -import { ModalModule } from 'ng2-bootstrap/components/modal'; +import { DropdownModule } from 'ng2-bootstrap/dropdown'; +import { ProgressbarModule } from 'ng2-bootstrap/progressbar'; +import { PaginationModule } from 'ng2-bootstrap/pagination'; +import { ModalModule } from 'ng2-bootstrap/modal'; import { FileUploadModule } from 'ng2-file-upload/ng2-file-upload'; import { AUTH_HTTP_PROVIDERS } from './auth'; @@ -23,11 +23,12 @@ import { SearchComponent, SearchService } from './search'; HttpModule, RouterModule, - DropdownModule, - FileUploadModule, - ModalModule, - PaginationModule, - ProgressbarModule + DropdownModule.forRoot(), + ModalModule.forRoot(), + PaginationModule.forRoot(), + ProgressbarModule.forRoot(), + + FileUploadModule ], declarations: [ diff --git a/client/src/app/videos/video-watch/video-magnet.component.ts b/client/src/app/videos/video-watch/video-magnet.component.ts index 2894e7df6..8bee848a4 100644 --- a/client/src/app/videos/video-watch/video-magnet.component.ts +++ b/client/src/app/videos/video-watch/video-magnet.component.ts @@ -1,6 +1,6 @@ import { Component, Input, ViewChild } from '@angular/core'; -import { ModalDirective } from 'ng2-bootstrap/components/modal'; +import { ModalDirective } from 'ng2-bootstrap/modal'; import { Video } from '../shared'; diff --git a/client/src/app/videos/video-watch/video-share.component.ts b/client/src/app/videos/video-watch/video-share.component.ts index 8e6de1294..0b85052cd 100644 --- a/client/src/app/videos/video-watch/video-share.component.ts +++ b/client/src/app/videos/video-watch/video-share.component.ts @@ -1,6 +1,6 @@ import { Component, Input, ViewChild } from '@angular/core'; -import { ModalDirective } from 'ng2-bootstrap/components/modal'; +import { ModalDirective } from 'ng2-bootstrap/modal'; import { Video } from '../shared'; -- cgit v1.2.3