mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 00:43:53 +00:00
Org libraries (#3110)
* org admin libraris * update front page * update code style * refactor code * update api name
This commit is contained in:
15
frontend/src/models/org-admin-repo.js
Normal file
15
frontend/src/models/org-admin-repo.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Utils } from '../utils/utils';
|
||||
|
||||
class OrgAdminRepo {
|
||||
constructor(object) {
|
||||
this.repoID = object.repo_id;
|
||||
this.repoName = object.repo_name;
|
||||
this.ownerName = object.owner_name;
|
||||
this.ownerEmail = object.owner_email;
|
||||
this.encrypted = object.encrypted;
|
||||
this.isDepartmentRepo = object.is_department_repo;
|
||||
this.groupID = object.group_id;
|
||||
}
|
||||
}
|
||||
|
||||
export default OrgAdminRepo;
|
Reference in New Issue
Block a user