[develop]: Helper class: Remove group from mapType.
This commit is contained in:
parent
b0c69be6ef
commit
622459c26c
|
@ -234,6 +234,7 @@ export class Role {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static mapType(type: string, communityMap: boolean = true): string {
|
public static mapType(type: string, communityMap: boolean = true): string {
|
||||||
|
type = type.replace(this.GROUP, '');
|
||||||
if (type == "ri" && communityMap) {
|
if (type == "ri" && communityMap) {
|
||||||
type = "community";
|
type = "community";
|
||||||
} else if (type == "organization") {
|
} else if (type == "organization") {
|
||||||
|
|
Loading…
Reference in New Issue