1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-24 04:48:03 +00:00

fix deselect markdown file detail (#6780)

This commit is contained in:
Michael An
2024-09-14 15:29:26 +08:00
committed by GitHub
parent 227a9d5a90
commit 7f56426ad8
4 changed files with 6 additions and 22 deletions

View File

@@ -396,7 +396,7 @@ export const Utils = {
},
getDirentIcon: function (dirent, isBig) {
if (!dirent) return mediaUrl + 'img/file/256/' + Utils.FILEEXT_ICON_MAP['default'];
if (!dirent) return '';
let size = Utils.isHiDPI() ? 48 : 24;
size = isBig ? 192 : size;
if (dirent.isDir()) {