]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+admin/follows/follows.routes.ts
Add additional checks when importing a video
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / follows / follows.routes.ts
index 81707453615e70937b7517c8d5b45e55d5273101..718493dc74a52f5d75d80a81112b406bc0245cee 100644 (file)
@@ -4,12 +4,10 @@ import { UserRightGuard } from '@app/core'
 import { UserRight } from '@shared/models'
 import { FollowersListComponent } from './followers-list'
 import { FollowingListComponent } from './following-list/following-list.component'
-import { FollowsComponent } from './follows.component'
 
 export const FollowsRoutes: Routes = [
   {
     path: 'follows',
-    component: FollowsComponent,
     canActivate: [ UserRightGuard ],
     data: {
       userRight: UserRight.MANAGE_SERVER_FOLLOW
@@ -25,7 +23,7 @@ export const FollowsRoutes: Routes = [
         component: FollowingListComponent,
         data: {
           meta: {
-            title: 'Following list'
+            title: $localize`Following`
           }
         }
       },
@@ -34,7 +32,7 @@ export const FollowsRoutes: Routes = [
         component: FollowersListComponent,
         data: {
           meta: {
-            title: 'Followers list'
+            title: $localize`Followers`
           }
         }
       },
@@ -44,7 +42,12 @@ export const FollowsRoutes: Routes = [
       },
       {
         path: 'video-redundancies-list',
-        component: VideoRedundanciesListComponent
+        component: VideoRedundanciesListComponent,
+        data: {
+          meta: {
+            title: $localize`Redundancy`
+          }
+        }
       }
     ]
   }