CLASSROOMIO-T-46: Forum CRUD MVP

Co-authored-by: Rotimi Best <[email protected]>

Merge-request: CLASSROOMIO-MR-13
Merged-by: Digdippa Team <[email protected]>
This commit is contained in:
Rotimi Best
2023-05-20 23:53:28 +00:00
committed by Space Cloud
co-authored by Rotimi Best
parent 779827ba46
commit c36a49a1ee
42 changed files with 871 additions and 1573 deletions
+6 -1
View File
@@ -141,8 +141,13 @@
});
console.log('Create organisation member', data);
const memberId = Array.isArray(data) && data.length ? data[0].id : '';
orgs.set([orgData as never]);
currentOrg.set(orgData);
currentOrg.set({
...orgData,
memberId: memberId,
});
if (error) {
console.log('Error: create organisation member', error);