mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 19:08:21 +00:00
optimize starred.js (#5908)
Co-authored-by: wangjianhui <40563566+loveclever@users.noreply.github.com>
This commit is contained in:
@@ -79,7 +79,7 @@ class TableBody extends Component {
|
|||||||
|
|
||||||
getThumbnails() {
|
getThumbnails() {
|
||||||
let items = this.state.items.filter((item) => {
|
let items = this.state.items.filter((item) => {
|
||||||
return (Utils.imageCheck(item.obj_name) || (enableVideoThumbnail && Utils.videoCheck(item.obj_name))) && !item.repo_encrypted;
|
return (Utils.imageCheck(item.obj_name) || (enableVideoThumbnail && Utils.videoCheck(item.obj_name))) && !item.repo_encrypted && !item.encoded_thumbnail_src;
|
||||||
});
|
});
|
||||||
if (items.length == 0) {
|
if (items.length == 0) {
|
||||||
return ;
|
return ;
|
||||||
|
Reference in New Issue
Block a user