feat: filtering members by groups and vice versa!

This commit is contained in:
Spectralitree
2021-12-19 00:58:55 +01:00
parent 722f345e4c
commit 5c0403e883
9 changed files with 156 additions and 18 deletions

View File

@@ -16,6 +16,7 @@ export default class Group {
color?: string;
privacy?: GroupPrivacy;
created?: string;
members?: string[];
constructor(data: any) {
this.id = data.id;
@@ -27,6 +28,7 @@ export default class Group {
this.banner = data.banner;
this.color = data.color;
this.created = data.created;
this.members = data.members;
if (data.privacy) {
this.privacy = {}
this.privacy.description_privacy = data.privacy.description_privacy;