]> 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 531d763c4ba5ac1ebdafc4b6758b1367b482df1a..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'
       },
       {