]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+videos/videos.module.ts
Add video filters to common video pages
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / videos.module.ts
index 4c88a039721ea383f12652cdbff4162e44326e57..523533c1115231e4eba08d334cd5bc43d3cbc8cd 100644 (file)
@@ -1,18 +1,12 @@
-import { CommonModule } from '@angular/common'
 import { NgModule } from '@angular/core'
+import { SharedActorImageModule } from '@app/shared/shared-actor-image/shared-actor-image.module'
 import { SharedFormModule } from '@app/shared/shared-forms'
 import { SharedGlobalIconModule } from '@app/shared/shared-icons'
 import { SharedMainModule } from '@app/shared/shared-main'
 import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription'
 import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature'
-import { OverviewService } from './video-list'
+import { OverviewService, VideosListCommonPageComponent } from './video-list'
 import { VideoOverviewComponent } from './video-list/overview/video-overview.component'
-import { VideoTrendingHeaderComponent } from './video-list/trending/video-trending-header.component'
-import { VideoHotComponent } from './video-list/trending/video-hot.component'
-import { VideoTrendingComponent } from './video-list/trending/video-trending.component'
-import { VideoMostLikedComponent } from './video-list/trending/video-most-liked.component'
-import { VideoLocalComponent } from './video-list/video-local.component'
-import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component'
 import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component'
 import { VideosRoutingModule } from './videos-routing.module'
 import { VideosComponent } from './videos.component'
@@ -25,20 +19,16 @@ import { VideosComponent } from './videos.component'
     SharedFormModule,
     SharedVideoMiniatureModule,
     SharedUserSubscriptionModule,
-    SharedGlobalIconModule
+    SharedGlobalIconModule,
+    SharedActorImageModule
   ],
 
   declarations: [
     VideosComponent,
 
-    VideoTrendingHeaderComponent,
-    VideoTrendingComponent,
-    VideoHotComponent,
-    VideoMostLikedComponent,
-    VideoRecentlyAddedComponent,
-    VideoLocalComponent,
     VideoUserSubscriptionsComponent,
-    VideoOverviewComponent
+    VideoOverviewComponent,
+    VideosListCommonPageComponent
   ],
 
   exports: [