Small copy-changes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user