mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-27 15:54:39 +00:00
[org admin / users] fixup for sort by 'Space Used' (#4682)
This commit is contained in:
@@ -11,8 +11,8 @@ class OrgUserInfo {
|
||||
this.email = object.email;
|
||||
this.contact_email = object.owner_contact_email;
|
||||
this.is_active = object.is_active;
|
||||
this.quota = object.quota > 0 ? Utils.bytesToSize(object.quota) : '';
|
||||
this.self_usage = Utils.bytesToSize(object.self_usage);
|
||||
this.quota_usage = object.quota_usage;
|
||||
this.quota_total = object.quota_total;
|
||||
this.last_login = object.last_login ? moment(object.last_login).fromNow() : '--';
|
||||
this.ctime = moment(object.ctime).format('YYYY-MM-DD HH:mm:ss');
|
||||
}
|
||||
|
Reference in New Issue
Block a user