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

@@ -7,11 +7,11 @@ export interface Role {
export function mapRoleResponseToRoleObject(type: string): Role {
switch (type) {
case 'MSFA_Standard':
return {
name: 'Basanvändare',
type: RoleEnum[type],
};
// case 'MSFA_Standard':
// return {
// name: 'Basanvändare',
// type: RoleEnum[type],
// };
case 'MSFA_ReportAndPlanning':
return {
name: 'Rapportering, planering och information om deltagare',
@@ -28,6 +28,6 @@ export function mapRoleResponseToRoleObject(type: string): Role {
type: RoleEnum[RoleEnum[type]],
};
default:
return;
return null;
}
}