diff options
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r-- | client/src/app/+videos/videos-routing.module.ts | 2 | ||||
-rw-r--r-- | client/src/app/+videos/videos.component.ts | 6 | ||||
-rw-r--r-- | client/src/app/+videos/videos.module.ts | 7 |
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' | |||
4 | import { VideosListCommonPageComponent } from './video-list' | 4 | import { VideosListCommonPageComponent } from './video-list' |
5 | import { VideoOverviewComponent } from './video-list/overview/video-overview.component' | 5 | import { VideoOverviewComponent } from './video-list/overview/video-overview.component' |
6 | import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component' | 6 | import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component' |
7 | import { VideosComponent } from './videos.component' | ||
8 | 7 | ||
9 | const videosRoutes: Routes = [ | 8 | const 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 @@ | |||
1 | import { Component } from '@angular/core' | ||
2 | |||
3 | @Component({ | ||
4 | template: '<router-outlet></router-outlet>' | ||
5 | }) | ||
6 | export 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' | |||
9 | import { VideoOverviewComponent } from './video-list/overview/video-overview.component' | 9 | import { VideoOverviewComponent } from './video-list/overview/video-overview.component' |
10 | import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component' | 10 | import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component' |
11 | import { VideosRoutingModule } from './videos-routing.module' | 11 | import { VideosRoutingModule } from './videos-routing.module' |
12 | import { 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 |