mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix multiple UI and SonarQube issues found when testing wcDocker changes. #6479
This commit is contained in:
@@ -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});
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user