Make the size blank for all the directories in the file select dialog. Fixes #7109

This commit is contained in:
Yogesh Mahajan
2022-01-27 12:11:09 +05:30
committed by Akshay Joshi
parent deab1bfaba
commit 8fd3ddc4ae
2 changed files with 5 additions and 0 deletions

View File

@@ -492,8 +492,10 @@ define([
if (item_data.file_type == 'dir') {
icon_type = 'fa fa-folder-open fm_folder_grid';
props.Size = '';
} else if (item_data.file_type == 'drive') {
icon_type = 'fa fa-hdd fm_drive';
props.Size = '';
} else {
icon_type = 'fa fa-file-alt fm_file_grid';
}
@@ -591,9 +593,11 @@ define([
if (item_data.file_type == 'dir') {
class_type = 'tbl_folder';
icon_type = 'fa fa-folder-open fm_folder_list';
props.Size = '';
} else if (item_data.file_type == 'drive') {
class_type = 'tbl_drive';
icon_type = 'fa fa-hdd';
props.Size = '';
} else {
class_type = 'tbl_file';
icon_type = 'fa fa-file-alt';