From d77ad726631ea09ee1aa92e52cfac8c8c781ec35 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 27 Aug 2018 15:09:04 +0200 Subject: Fix deprecated ng-bootstrap methods --- client/src/app/search/search.module.ts | 2 +- client/src/app/shared/shared.module.ts | 10 +++++----- client/src/app/videos/+video-watch/video-watch.module.ts | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'client/src/app') diff --git a/client/src/app/search/search.module.ts b/client/src/app/search/search.module.ts index 5a715fb8e..0411fbe24 100644 --- a/client/src/app/search/search.module.ts +++ b/client/src/app/search/search.module.ts @@ -11,7 +11,7 @@ import { NgbCollapseModule } from '@ng-bootstrap/ng-bootstrap' SearchRoutingModule, SharedModule, - NgbCollapseModule.forRoot() + NgbCollapseModule ], declarations: [ diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index 9bc7ad88b..413159059 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts @@ -60,11 +60,11 @@ import { SubscribeButtonComponent, UserSubscriptionService } from '@app/shared/u RouterModule, HttpClientModule, - NgbDropdownModule.forRoot(), - NgbModalModule.forRoot(), - NgbPopoverModule.forRoot(), - NgbTabsetModule.forRoot(), - NgbTooltipModule.forRoot(), + NgbDropdownModule, + NgbModalModule, + NgbPopoverModule, + NgbTabsetModule, + NgbTooltipModule, PrimeSharedModule, NgPipesModule diff --git a/client/src/app/videos/+video-watch/video-watch.module.ts b/client/src/app/videos/+video-watch/video-watch.module.ts index 7730919fe..57e3c9c78 100644 --- a/client/src/app/videos/+video-watch/video-watch.module.ts +++ b/client/src/app/videos/+video-watch/video-watch.module.ts @@ -22,7 +22,7 @@ import { VideoBlacklistComponent } from '@app/videos/+video-watch/modal/video-bl VideoWatchRoutingModule, SharedModule, ClipboardModule, - NgbTooltipModule.forRoot(), + NgbTooltipModule, NgxQRCodeModule ], -- cgit v1.2.3