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