Fix multiple UI and SonarQube issues found when testing wcDocker changes. #6479

This commit is contained in:
Aditya Toshniwal
2023-10-26 12:06:28 +05:30
parent c5f4a56c0c
commit 3bcac26ff9
32 changed files with 120 additions and 693 deletions

View File

@@ -346,7 +346,7 @@ export default function QueryToolComponent({params, pgWindow, pgAdmin, selectedN
}
}, 100));
/* If the tab or window is not visible */
/* If the tab or window is not visible, applicable for open in new tab */
document.addEventListener('visibilitychange', function() {
if(document.hidden) {
setQtState({is_visible: false});

View File

@@ -83,7 +83,7 @@ export function getPanelTitle(pgBrowser, selected_item=null, custom_title=null,
export function getQueryToolIcon(title, isQt, isFile) {
let panelIcon = '';
let panelTooltip = title;
let panelTooltip;
if(isFile || isFile == 'true'){
panelIcon = 'fa fa-file-alt';