]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/videos-routing.module.ts
Add ability to click on the account in watch page
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / videos-routing.module.ts
index 29ec5fd4fd1a049608ae3439f2272a68b297409d..561137b7013ed3391a2c47a0294953d9019ab713 100644 (file)
@@ -1,5 +1,6 @@
 import { NgModule } from '@angular/core'
 import { RouterModule, Routes } from '@angular/router'
+import { VideoLocalComponent } from '@app/videos/video-list/video-local.component'
 import { MetaGuard } from '@ngx-meta/core'
 import { VideoSearchComponent } from './video-list'
 import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component'
@@ -35,6 +36,15 @@ const videosRoutes: Routes = [
           }
         }
       },
+      {
+        path: 'local',
+        component: VideoLocalComponent,
+        data: {
+          meta: {
+            title: 'Local videos'
+          }
+        }
+      },
       {
         path: 'search',
         component: VideoSearchComponent,