X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Badmin%2Ffollows%2Ffollows.routes.ts;h=718493dc74a52f5d75d80a81112b406bc0245cee;hb=474542d7ac60f7860daf9ea34d1c31968f43ab29;hp=81707453615e70937b7517c8d5b45e55d5273101;hpb=67ed6552b831df66713bac9e672738796128d33f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+admin/follows/follows.routes.ts b/client/src/app/+admin/follows/follows.routes.ts index 817074536..718493dc7 100644 --- a/client/src/app/+admin/follows/follows.routes.ts +++ b/client/src/app/+admin/follows/follows.routes.ts @@ -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` + } + } } ] }