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:
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user