mirror of https://github.com/Chocobozzz/PeerTube
Client: fix routes title
parent
e22528aca6
commit
55b3394641
|
@ -19,7 +19,7 @@ export const FriendsRoutes: Routes = [
|
|||
component: FriendListComponent,
|
||||
data: {
|
||||
meta: {
|
||||
titleSuffix: ' - Friends list'
|
||||
title: 'Friends list'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -28,7 +28,7 @@ export const FriendsRoutes: Routes = [
|
|||
component: FriendAddComponent,
|
||||
data: {
|
||||
meta: {
|
||||
titleSuffix: ' - Add friends'
|
||||
title: 'Add friends'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ export const RequestsRoutes: Routes = [
|
|||
component: RequestStatsComponent,
|
||||
data: {
|
||||
meta: {
|
||||
titleSuffix: ' - Request stats'
|
||||
title: 'Request stats'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ export const UsersRoutes: Routes = [
|
|||
component: UserListComponent,
|
||||
data: {
|
||||
meta: {
|
||||
titleSuffix: ' - Users list'
|
||||
title: 'Users list'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -28,7 +28,7 @@ export const UsersRoutes: Routes = [
|
|||
component: UserAddComponent,
|
||||
data: {
|
||||
meta: {
|
||||
titleSuffix: ' - Add a user'
|
||||
title: 'Add a user'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ export const VideoAbusesRoutes: Routes = [
|
|||
component: VideoAbuseListComponent,
|
||||
data: {
|
||||
meta: {
|
||||
titleSuffix: ' - Video abuses list'
|
||||
title: 'Video abuses list'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ const accountRoutes: Routes = [
|
|||
component: AccountComponent,
|
||||
data: {
|
||||
meta: {
|
||||
titleSuffix: ' - My account'
|
||||
title: 'My account'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,16 +46,16 @@ const APP_PROVIDERS = [
|
|||
|
||||
AppRoutingModule,
|
||||
|
||||
MetaModule.forRoot({
|
||||
provide: MetaLoader,
|
||||
useFactory: (metaFactory)
|
||||
}),
|
||||
|
||||
AccountModule,
|
||||
CoreModule,
|
||||
LoginModule,
|
||||
SharedModule,
|
||||
VideosModule
|
||||
VideosModule,
|
||||
|
||||
MetaModule.forRoot({
|
||||
provide: MetaLoader,
|
||||
useFactory: (metaFactory)
|
||||
})
|
||||
],
|
||||
providers: [ // expose our Services and Providers into Angular's dependency injection
|
||||
ENV_PROVIDERS,
|
||||
|
|
|
@ -9,7 +9,7 @@ const loginRoutes: Routes = [
|
|||
component: LoginComponent,
|
||||
data: {
|
||||
meta: {
|
||||
titleSuffix: ' - Login'
|
||||
title: 'Login'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ const videosRoutes: Routes = [
|
|||
component: VideoListComponent,
|
||||
data: {
|
||||
meta: {
|
||||
titleSuffix: ' - Videos list'
|
||||
title: 'Videos list'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -25,7 +25,7 @@ const videosRoutes: Routes = [
|
|||
component: VideoAddComponent,
|
||||
data: {
|
||||
meta: {
|
||||
titleSuffix: ' - Add a video'
|
||||
title: 'Add a video'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue