Small copy-changes

This commit is contained in:
Erik Tiekstra
2021-09-03 13:53:43 +02:00
parent 1fef2fe173
commit 6f21b15f51
19 changed files with 87 additions and 82 deletions

View File

@@ -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 {