From: Chocobozzz Date: Mon, 27 Aug 2018 13:09:04 +0000 (+0200) Subject: Fix deprecated ng-bootstrap methods X-Git-Tag: v1.0.0-beta.12~98 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d77ad726631ea09ee1aa92e52cfac8c8c781ec35;p=oweals%2Fpeertube.git Fix deprecated ng-bootstrap methods --- 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 ],