X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideos%2Fvideos.module.ts;h=f06f4be2b9d6ccbe25fbbcb40f9d8e3bdf565f8a;hb=464e4ed92c119c8f5d8ae561ad1d27a90d2581a0;hp=ae9c680eb6bf398d68c67f1b4e3fbdf5db16fb1f;hpb=3da68f0a781ebd893521e2e6fa200280c92ae815;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+videos/videos.module.ts b/client/src/app/+videos/videos.module.ts index ae9c680eb..f06f4be2b 100644 --- a/client/src/app/+videos/videos.module.ts +++ b/client/src/app/+videos/videos.module.ts @@ -1,21 +1,14 @@ -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 { VideoMostViewedComponent } from './video-list/trending/video-most-viewed.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' @NgModule({ imports: [ @@ -25,25 +18,17 @@ import { VideosComponent } from './videos.component' SharedFormModule, SharedVideoMiniatureModule, SharedUserSubscriptionModule, - SharedGlobalIconModule + SharedGlobalIconModule, + SharedActorImageModule ], declarations: [ - VideosComponent, - - VideoTrendingHeaderComponent, - VideoMostViewedComponent, - VideoHotComponent, - VideoMostLikedComponent, - VideoRecentlyAddedComponent, - VideoLocalComponent, VideoUserSubscriptionsComponent, - VideoOverviewComponent + VideoOverviewComponent, + VideosListCommonPageComponent ], - exports: [ - VideosComponent - ], + exports: [], providers: [ OverviewService