X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideo-channels%2Fvideo-channels-routing.module.ts;h=4ee0528736c0a203c0d36496abdcb13ddf2a174f;hb=df1db951c512a58110171d046ef367789df02733;hp=d4872a0a597656ce25d2e27d9ba8ac677201320f;hpb=489290b8b16bede6ddfb773adad55dee6471ccfd;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+video-channels/video-channels-routing.module.ts b/client/src/app/+video-channels/video-channels-routing.module.ts index d4872a0a5..4ee052873 100644 --- a/client/src/app/+video-channels/video-channels-routing.module.ts +++ b/client/src/app/+video-channels/video-channels-routing.module.ts @@ -1,16 +1,13 @@ import { NgModule } from '@angular/core' import { RouterModule, Routes } from '@angular/router' -import { MetaGuard } from '@ngx-meta/core' -import { VideoChannelsComponent } from './video-channels.component' +import { VideoChannelPlaylistsComponent } from './video-channel-playlists/video-channel-playlists.component' import { VideoChannelVideosComponent } from './video-channel-videos/video-channel-videos.component' -import { VideoChannelAboutComponent } from './video-channel-about/video-channel-about.component' -import { VideoChannelPlaylistsComponent } from '@app/+video-channels/video-channel-playlists/video-channel-playlists.component' +import { VideoChannelsComponent } from './video-channels.component' const videoChannelsRoutes: Routes = [ { path: ':videoChannelName', component: VideoChannelsComponent, - canActivateChild: [ MetaGuard ], children: [ { path: '', @@ -22,7 +19,7 @@ const videoChannelsRoutes: Routes = [ component: VideoChannelVideosComponent, data: { meta: { - title: 'Video channel videos' + title: $localize`Video channel videos` }, reuse: { enabled: true, @@ -35,16 +32,7 @@ const videoChannelsRoutes: Routes = [ component: VideoChannelPlaylistsComponent, data: { meta: { - title: 'Video channel playlists' - } - } - }, - { - path: 'about', - component: VideoChannelAboutComponent, - data: { - meta: { - title: 'About video channel' + title: $localize`Video channel playlists` } } }