]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+accounts/accounts-routing.module.ts
Fix lint
[github/Chocobozzz/PeerTube.git] / client / src / app / +accounts / accounts-routing.module.ts
index d2ca784b0378df441d0bbbadb4e753c3f34744d8..3bf0f7185c9eb395736a40c1cbb0041d2783e2b5 100644 (file)
@@ -1,10 +1,10 @@
 import { NgModule } from '@angular/core'
 import { RouterModule, Routes } from '@angular/router'
 import { MetaGuard } from '@ngx-meta/core'
-import { AccountsComponent } from './accounts.component'
-import { AccountVideosComponent } from './account-videos/account-videos.component'
-import { AccountAboutComponent } from './account-about/account-about.component'
+import { AccountSearchComponent } from './account-search/account-search.component'
 import { AccountVideoChannelsComponent } from './account-video-channels/account-video-channels.component'
+import { AccountVideosComponent } from './account-videos/account-videos.component'
+import { AccountsComponent } from './accounts.component'
 
 const accountsRoutes: Routes = [
   {
@@ -21,6 +21,15 @@ const accountsRoutes: Routes = [
         redirectTo: 'video-channels',
         pathMatch: 'full'
       },
+      {
+        path: 'video-channels',
+        component: AccountVideoChannelsComponent,
+        data: {
+          meta: {
+            title: $localize`Account video channels`
+          }
+        }
+      },
       {
         path: 'videos',
         component: AccountVideosComponent,
@@ -35,20 +44,11 @@ const accountsRoutes: Routes = [
         }
       },
       {
-        path: 'video-channels',
-        component: AccountVideoChannelsComponent,
-        data: {
-          meta: {
-            title: $localize`Account video channels`
-          }
-        }
-      },
-      {
-        path: 'about',
-        component: AccountAboutComponent,
+        path: 'search',
+        component: AccountSearchComponent,
         data: {
           meta: {
-            title: $localize`About account`
+            title: $localize`Search videos within account`
           }
         }
       }