diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-27 15:09:04 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-27 15:09:04 +0200 |
commit | d77ad726631ea09ee1aa92e52cfac8c8c781ec35 (patch) | |
tree | 8f707853071204ece49d7d6ec79fed467067fe4c | |
parent | 0bd84f8bdebeaba9623bce0e389e56bf0906a537 (diff) | |
download | PeerTube-d77ad726631ea09ee1aa92e52cfac8c8c781ec35.tar.gz PeerTube-d77ad726631ea09ee1aa92e52cfac8c8c781ec35.tar.zst PeerTube-d77ad726631ea09ee1aa92e52cfac8c8c781ec35.zip |
Fix deprecated ng-bootstrap methods
-rw-r--r-- | client/src/app/search/search.module.ts | 2 | ||||
-rw-r--r-- | client/src/app/shared/shared.module.ts | 10 | ||||
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.module.ts | 2 |
3 files changed, 7 insertions, 7 deletions
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' | |||
11 | SearchRoutingModule, | 11 | SearchRoutingModule, |
12 | SharedModule, | 12 | SharedModule, |
13 | 13 | ||
14 | NgbCollapseModule.forRoot() | 14 | NgbCollapseModule |
15 | ], | 15 | ], |
16 | 16 | ||
17 | declarations: [ | 17 | 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 | |||
60 | RouterModule, | 60 | RouterModule, |
61 | HttpClientModule, | 61 | HttpClientModule, |
62 | 62 | ||
63 | NgbDropdownModule.forRoot(), | 63 | NgbDropdownModule, |
64 | NgbModalModule.forRoot(), | 64 | NgbModalModule, |
65 | NgbPopoverModule.forRoot(), | 65 | NgbPopoverModule, |
66 | NgbTabsetModule.forRoot(), | 66 | NgbTabsetModule, |
67 | NgbTooltipModule.forRoot(), | 67 | NgbTooltipModule, |
68 | 68 | ||
69 | PrimeSharedModule, | 69 | PrimeSharedModule, |
70 | NgPipesModule | 70 | 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 | |||
22 | VideoWatchRoutingModule, | 22 | VideoWatchRoutingModule, |
23 | SharedModule, | 23 | SharedModule, |
24 | ClipboardModule, | 24 | ClipboardModule, |
25 | NgbTooltipModule.forRoot(), | 25 | NgbTooltipModule, |
26 | NgxQRCodeModule | 26 | NgxQRCodeModule |
27 | ], | 27 | ], |
28 | 28 | ||