[angular-16 | DONE | FIXED]: Create group was hidden for curators because of new dynamic types.

This commit is contained in:
Konstantinos Triantafyllou 2023-10-27 17:49:31 +03:00
parent 64e8919925
commit 9af2fac9a0
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ export class Session {
}
public static isCurator(type: string, user: User): boolean {
return stakeholderTypes.find(stakeholderType => stakeholderType.value == type) && this.isTypeCurator(type, user);
return (type === 'community' || stakeholderTypes.find(stakeholderType => stakeholderType.value == type)) && this.isTypeCurator(type, user);
}
public static isPortalAdministrator(user: User): boolean {