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

repair bug

This commit is contained in:
shanshuirenjia
2018-12-22 11:17:03 +08:00
parent ff163bf80d
commit 26dc768bac
5 changed files with 18 additions and 9 deletions

View File

@@ -9,7 +9,7 @@ class Dirent {
this.type = json.type;
this.mtime = moment.unix(json.mtime).fromNow();
this.permission = json.permission;
this.isSelected = false;
this.isSelected = false; // is check or not
if (json.type === 'file') {
this.size = Utils.bytesToSize(json.size);
this.starred = json.starred;