]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+accounts/accounts-routing.module.ts
Add ListOverflow component to prevent sub-menu overflow
[github/Chocobozzz/PeerTube.git] / client / src / app / +accounts / accounts-routing.module.ts
index ffe606b4372aa5b7d7c56a80e4f0c71c00c92b31..45b24eb55e49ee43da1bc3740253476c670d7d2c 100644 (file)
@@ -7,6 +7,10 @@ import { AccountAboutComponent } from './account-about/account-about.component'
 import { AccountVideoChannelsComponent } from './account-video-channels/account-video-channels.component'
 
 const accountsRoutes: Routes = [
+  {
+    path: 'peertube',
+    redirectTo: '/videos/local'
+  },
   {
     path: ':accountId',
     component: AccountsComponent,
@@ -14,7 +18,7 @@ const accountsRoutes: Routes = [
     children: [
       {
         path: '',
-        redirectTo: 'videos',
+        redirectTo: 'video-channels',
         pathMatch: 'full'
       },
       {
@@ -23,6 +27,10 @@ const accountsRoutes: Routes = [
         data: {
           meta: {
             title: 'Account videos'
+          },
+          reuse: {
+            enabled: true,
+            key: 'account-videos-list'
           }
         }
       },