mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 23:29:49 +00:00
Compare initial size
This commit is contained in:
@@ -13,6 +13,7 @@ class Dirent {
|
||||
this.isSelected = false; // is check or not
|
||||
this.starred = json.starred || false;
|
||||
if (json.type === 'file') {
|
||||
this.Initialsize = json.size;
|
||||
this.size = Utils.bytesToSize(json.size);
|
||||
this.is_locked = json.is_locked || false;
|
||||
this.lock_time = json.lock_time || '';
|
||||
|
@@ -6,6 +6,7 @@ class Repo {
|
||||
this.repo_name = object.repo_name;
|
||||
this.permission = object.permission;
|
||||
this.size = Utils.bytesToSize(object.size);
|
||||
this.Initialsize = object.size
|
||||
this.owner_name = object.owner_name;
|
||||
this.owner_email = object.owner_email;
|
||||
this.owner_contact_email = object.owner_contact_email;
|
||||
|
Reference in New Issue
Block a user