1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 08:53:14 +00:00

add groups-view module

This commit is contained in:
shanshuirenjia
2018-12-10 11:52:44 +08:00
parent 811614fa21
commit f6cff08bc6
5 changed files with 144 additions and 19 deletions

View File

@@ -3,11 +3,14 @@ class Group {
this.id= object.id;
this.name = object.name;
this.owner = object.owner;
this.admins = object.admins;
this.admins = object.admins || [];
this.avatar_url = object.avatar_url;
this.created_at = object.created_at;
this.parent_group_id = object.parent_group_id;
this.wiki_enabled = object.wiki_enabled;
if (object.repos) {
this.repos = object.repos;
}
}
}