1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 10:22:46 +00:00

[dir view, repo wiki mode] show thumbnails for image files (#2805)

* [dir view, repo wiki mode] show thumbnails for image files

* modification for 'thumbnail' after api was updated
This commit is contained in:
llj
2019-01-11 16:16:07 +08:00
committed by Daniel Pan
parent 5fd87ff6f1
commit 377681422c
5 changed files with 99 additions and 13 deletions

View File

@@ -28,6 +28,9 @@ class Dirent {
});
}
this.file_tags = file_tags;
if (json.encoded_thumbnail_src) {
this.encoded_thumbnail_src = json.encoded_thumbnail_src;
}
}
}