Client: fix routes title
This commit is contained in:
parent
e22528aca6
commit
55b3394641
8 changed files with 16 additions and 16 deletions
|
@ -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 a new issue