aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-29 11:33:28 +0200
committerChocobozzz <me@florianbigard.com>2021-10-29 11:52:58 +0200
commiteeae81428e933b923dc9d9b6c9ce5c9fcf0de1a7 (patch)
tree0c444d0c13df141ec7095fc141997a2b847c31d8 /client/src/app/+videos
parent3c10840fa90fc88fc98e8169faf4745ff6c80893 (diff)
downloadPeerTube-eeae81428e933b923dc9d9b6c9ce5c9fcf0de1a7.tar.gz
PeerTube-eeae81428e933b923dc9d9b6c9ce5c9fcf0de1a7.tar.zst
PeerTube-eeae81428e933b923dc9d9b6c9ce5c9fcf0de1a7.zip
Remove useless components
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r--client/src/app/+videos/videos-routing.module.ts2
-rw-r--r--client/src/app/+videos/videos.component.ts6
-rw-r--r--client/src/app/+videos/videos.module.ts7
3 files changed, 1 insertions, 14 deletions
diff --git a/client/src/app/+videos/videos-routing.module.ts b/client/src/app/+videos/videos-routing.module.ts
index 7db519615..8c777fbb6 100644
--- a/client/src/app/+videos/videos-routing.module.ts
+++ b/client/src/app/+videos/videos-routing.module.ts
@@ -4,12 +4,10 @@ import { LoginGuard } from '@app/core'
4import { VideosListCommonPageComponent } from './video-list' 4import { VideosListCommonPageComponent } from './video-list'
5import { VideoOverviewComponent } from './video-list/overview/video-overview.component' 5import { VideoOverviewComponent } from './video-list/overview/video-overview.component'
6import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component' 6import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component'
7import { VideosComponent } from './videos.component'
8 7
9const videosRoutes: Routes = [ 8const videosRoutes: Routes = [
10 { 9 {
11 path: '', 10 path: '',
12 component: VideosComponent,
13 children: [ 11 children: [
14 { 12 {
15 path: 'overview', 13 path: 'overview',
diff --git a/client/src/app/+videos/videos.component.ts b/client/src/app/+videos/videos.component.ts
deleted file mode 100644
index 585a3ad9a..000000000
--- a/client/src/app/+videos/videos.component.ts
+++ /dev/null
@@ -1,6 +0,0 @@
1import { Component } from '@angular/core'
2
3@Component({
4 template: '<router-outlet></router-outlet>'
5})
6export class VideosComponent {}
diff --git a/client/src/app/+videos/videos.module.ts b/client/src/app/+videos/videos.module.ts
index 523533c11..f06f4be2b 100644
--- a/client/src/app/+videos/videos.module.ts
+++ b/client/src/app/+videos/videos.module.ts
@@ -9,7 +9,6 @@ import { OverviewService, VideosListCommonPageComponent } from './video-list'
9import { VideoOverviewComponent } from './video-list/overview/video-overview.component' 9import { VideoOverviewComponent } from './video-list/overview/video-overview.component'
10import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component' 10import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component'
11import { VideosRoutingModule } from './videos-routing.module' 11import { VideosRoutingModule } from './videos-routing.module'
12import { VideosComponent } from './videos.component'
13 12
14@NgModule({ 13@NgModule({
15 imports: [ 14 imports: [
@@ -24,16 +23,12 @@ import { VideosComponent } from './videos.component'
24 ], 23 ],
25 24
26 declarations: [ 25 declarations: [
27 VideosComponent,
28
29 VideoUserSubscriptionsComponent, 26 VideoUserSubscriptionsComponent,
30 VideoOverviewComponent, 27 VideoOverviewComponent,
31 VideosListCommonPageComponent 28 VideosListCommonPageComponent
32 ], 29 ],
33 30
34 exports: [ 31 exports: [],
35 VideosComponent
36 ],
37 32
38 providers: [ 33 providers: [
39 OverviewService 34 OverviewService