107664: Normalized ePerson & group edit url and moved error message to translation file

This commit is contained in:
Alexandre Vryghem
2023-10-19 23:01:24 +02:00
parent 75ec046bba
commit 2e571767ea
4 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ export function getEPersonsRoute(): string {
}
export function getEPersonEditRoute(id: string): string {
return new URLCombiner(getEPersonsRoute(), id).toString();
return new URLCombiner(getEPersonsRoute(), id, 'edit').toString();
}
export const GROUP_PATH = 'groups';
@@ -18,5 +18,5 @@ export function getGroupsRoute() {
}
export function getGroupEditRoute(id: string) {
return new URLCombiner(getGroupsRoute(), id).toString();
return new URLCombiner(getGroupsRoute(), id, 'edit').toString();
}