diff --git a/web/pgadmin/browser/static/js/utility_view.jsx b/web/pgadmin/browser/static/js/utility_view.jsx index 626e031da..80770fb7f 100644 --- a/web/pgadmin/browser/static/js/utility_view.jsx +++ b/web/pgadmin/browser/static/js/utility_view.jsx @@ -14,6 +14,7 @@ import getApiInstance from 'sources/api_instance'; import {getHelpUrl, getEPASHelpUrl} from 'pgadmin.help'; import SchemaView from 'sources/SchemaView'; import 'wcdocker'; +import Theme from '../../../static/js/Theme'; /* The entry point for rendering React based view in properties, called in node.js */ export function getUtilityView(schema, treeNodeInfo, actionType, formType, container, containerPanel, @@ -80,22 +81,24 @@ export function getUtilityView(schema, treeNodeInfo, actionType, formType, conta /* Fire at will, mount the DOM */ ReactDOM.render( - containerPanel.close()} - onHelp={onHelp} - onDataChange={()=>{/*This is intentional (SonarQube)*/}} - confirmOnCloseReset={confirmOnReset} - hasSQL={false} - isTabView={isTabView} - disableSqlHelp={sqlHelpUrl == undefined || sqlHelpUrl == ''} - disableDialogHelp={helpUrl == undefined || helpUrl == ''} - />, container); + + containerPanel.close()} + onHelp={onHelp} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} + confirmOnCloseReset={confirmOnReset} + hasSQL={false} + isTabView={isTabView} + disableSqlHelp={sqlHelpUrl == undefined || sqlHelpUrl == ''} + disableDialogHelp={helpUrl == undefined || helpUrl == ''} + /> + , container); } /* When switching from normal node to collection node, clean up the React mounted DOM */