mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-25 02:00:19 -06:00
Incorporate review comments.
This commit is contained in:
parent
3f0eee4c39
commit
cc9d519fac
@ -207,6 +207,7 @@ export function getNodeView(nodeType, treeNodeInfo, actionType, itemNodeData, fo
|
||||
ReactDOM.render(
|
||||
<Theme>
|
||||
<SchemaView
|
||||
key={itemNodeData?._id}
|
||||
formType={formType}
|
||||
getInitData={initData}
|
||||
schema={schema}
|
||||
@ -223,7 +224,6 @@ export function getNodeView(nodeType, treeNodeInfo, actionType, itemNodeData, fo
|
||||
getSQLValue={getSQLValue}
|
||||
disableSqlHelp={nodeObj.sqlAlterHelp == '' && nodeObj.sqlCreateHelp == '' && !nodeObj.epasHelp}
|
||||
disableDialogHelp={nodeObj.dialogHelp == undefined || nodeObj.dialogHelp == ''}
|
||||
itemNodeData={itemNodeData}
|
||||
/>
|
||||
</Theme>, container);
|
||||
}
|
||||
|
@ -866,7 +866,7 @@ const usePropsStyles = makeStyles((theme)=>({
|
||||
|
||||
/* If its the properties tab */
|
||||
function SchemaPropertiesView({
|
||||
getInitData, viewHelperProps, schema={}, itemNodeData, ...props}) {
|
||||
getInitData, viewHelperProps, schema={}, ...props}) {
|
||||
const classes = usePropsStyles();
|
||||
let defaultTab = 'General';
|
||||
let tabs = {};
|
||||
@ -888,7 +888,7 @@ function SchemaPropertiesView({
|
||||
}).catch(()=>{
|
||||
setLoaderText('');
|
||||
});
|
||||
}, [itemNodeData]);
|
||||
}, []);
|
||||
|
||||
|
||||
/* A simple loop to get all the controls for the fields */
|
||||
|
Loading…
Reference in New Issue
Block a user