]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+video-channels/video-channels-routing.module.ts
Square channel avatar consistency
[github/Chocobozzz/PeerTube.git] / client / src / app / +video-channels / video-channels-routing.module.ts
index 3ac3533d9e41f9941b5d4249e68f53f0bc3d4196..fcaad8934722bfd75d4beb644b44fa7903f85eac 100644 (file)
@@ -1,9 +1,9 @@
 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 { VideoChannelsComponent } from './video-channels.component'
 
 const videoChannelsRoutes: Routes = [
   {
@@ -21,16 +21,20 @@ const videoChannelsRoutes: Routes = [
         component: VideoChannelVideosComponent,
         data: {
           meta: {
-            title: 'Video channel videos'
+            title: $localize`Video channel videos`
+          },
+          reuse: {
+            enabled: true,
+            key: 'video-channel-videos-list'
           }
         }
       },
       {
-        path: 'about',
-        component: VideoChannelAboutComponent,
+        path: 'video-playlists',
+        component: VideoChannelPlaylistsComponent,
         data: {
           meta: {
-            title: 'About video channel'
+            title: $localize`Video channel playlists`
           }
         }
       }