CLASSROOMIO-T-29: Limit org to one
Co-authored-by: Rotimi Best <[email protected]> Merge-request: CLASSROOMIO-MR-4 Merged-by: Digdippa Team <[email protected]>
This commit is contained in:
committed by
Space Cloud
co-authored by
Rotimi Best
parent
ae0462219b
commit
cfeaa17846
@@ -23,6 +23,8 @@ export async function getOrganizations(userId) {
|
||||
orgsArray.push({
|
||||
id: orgMember?.organization?.id,
|
||||
name: orgMember?.organization?.name,
|
||||
shortName:
|
||||
orgMember?.organization?.name?.substring(0, 2)?.toUpperCase() || '',
|
||||
siteName: orgMember?.organization?.siteName,
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user