Small copy-changes
This commit is contained in:
@@ -14,13 +14,13 @@ export function mapPathsToBreadcrumbs(
|
||||
];
|
||||
|
||||
if (isEmployeeCardRoute(paths)) {
|
||||
breadcrumbs[breadcrumbs.length - 1].text = 'Personal information';
|
||||
breadcrumbs[breadcrumbs.length - 1].text = 'Personalkonto';
|
||||
} else if (isEmployeeEditRoute(paths)) {
|
||||
breadcrumbs[breadcrumbs.length - 2] = {
|
||||
text: 'Hantera personal',
|
||||
text: 'Hantera personalkonton',
|
||||
routerLink: '/administration/personal',
|
||||
};
|
||||
breadcrumbs[breadcrumbs.length - 1].text = 'Redigera konto';
|
||||
breadcrumbs[breadcrumbs.length - 1].text = 'Redigera personalkonto';
|
||||
} else if (isParticipantCardRoute(paths)) {
|
||||
breadcrumbs[breadcrumbs.length - 1].text = 'Deltagarinformation';
|
||||
}
|
||||
@@ -32,7 +32,7 @@ function isEmployeeCardRoute(paths: string[]): boolean {
|
||||
}
|
||||
|
||||
function isEmployeeEditRoute(paths: string[]): boolean {
|
||||
return paths.length === 3 && paths[1] === 'redigera-konto';
|
||||
return paths.length === 3 && paths[1] === 'redigera-personalkonto';
|
||||
}
|
||||
|
||||
function isParticipantCardRoute(paths: string[]): boolean {
|
||||
|
||||
Reference in New Issue
Block a user