]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix deprecated ng-bootstrap methods
authorChocobozzz <me@florianbigard.com>
Mon, 27 Aug 2018 13:09:04 +0000 (15:09 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 27 Aug 2018 13:09:04 +0000 (15:09 +0200)
client/src/app/search/search.module.ts
client/src/app/shared/shared.module.ts
client/src/app/videos/+video-watch/video-watch.module.ts

index 5a715fb8e80e260d0260548763e77d365ea933fa..0411fbe24a537a99ae794bf78a017a9718626a9d 100644 (file)
@@ -11,7 +11,7 @@ import { NgbCollapseModule } from '@ng-bootstrap/ng-bootstrap'
     SearchRoutingModule,
     SharedModule,
 
-    NgbCollapseModule.forRoot()
+    NgbCollapseModule
   ],
 
   declarations: [
index 9bc7ad88b479aa9fc7559410c18fa0049bc33cac..413159059c8e6865d1464dd4b1eca5f45dea9003 100644 (file)
@@ -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
index 7730919fe0a36621a039fd5323381413a2bc5feb..57e3c9c78e8710ccffc40b31d46acbde702128ba 100644 (file)
@@ -22,7 +22,7 @@ import { VideoBlacklistComponent } from '@app/videos/+video-watch/modal/video-bl
     VideoWatchRoutingModule,
     SharedModule,
     ClipboardModule,
-    NgbTooltipModule.forRoot(),
+    NgbTooltipModule,
     NgxQRCodeModule
   ],