Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix deprecated ng-bootstrap methods

Chocobozzzd77ad726631e
diff --git a/client/src/app/search/search.module.ts b/client/src/app/search/search.module.ts
index 5a715fb8e8..0411fbe24a 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 9bc7ad88b4..413159059c 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 7730919fe0..57e3c9c78e 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
],