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

@ -23,6 +23,7 @@ Bug fixes
| `Issue #7035 <https://redmine.postgresql.org/issues/7035>`_ - Fixed an issue where connections keep open to (closed) connections on the initial connection to the database server.
| `Issue #7085 <https://redmine.postgresql.org/issues/7085>`_ - Ensure that Partitioned tables should be visible correctly when creating multiple partition levels.
| `Issue #7100 <https://redmine.postgresql.org/issues/7100>`_ - Fixed an issue where the Browser tree gets disappears when scrolling sequences.
| `Issue #7109 <https://redmine.postgresql.org/issues/7109>`_ - Make the size blank for all the directories in the file select dialog.
| `Issue #7118 <https://redmine.postgresql.org/issues/7118>`_ - Ensure that JSON files should be downloaded properly from the storage manager.
| `Issue #7123 <https://redmine.postgresql.org/issues/7123>`_ - Fixed an issue where restore generates incorrect options for the schema.
| `Issue #7127 <https://redmine.postgresql.org/issues/7127>`_ - Added validation for Hostname in the server dialog.

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';