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

@@ -77,6 +77,7 @@ export default function DebuggerArgumentComponent({ debuggerInfo, restartDebug,
const [loaderText, setLoaderText] = React.useState('');
const debuggerFinalArgs = useRef([]);
const InputArgIds = useRef([]);
const browserPreferences = usePreferences().getPreferencesForModule('browser');
function getURL() {
let _Url = null;
@@ -714,7 +715,6 @@ export default function DebuggerArgumentComponent({ debuggerInfo, restartDebug,
}
);
let browserPreferences = usePreferences().getPreferencesForModule('browser');
let open_new_tab = browserPreferences.new_browser_tab_open;
let label = getAppropriateLabel(treeInfo);
@@ -746,7 +746,6 @@ export default function DebuggerArgumentComponent({ debuggerInfo, restartDebug,
/* Close the debugger modal dialog */
props.closeModal();
setLoaderText('');
return;
})
.catch(function (error) {
setLoaderText('');