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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user