mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Framework stability fixes.
This commit is contained in:
committed by
Akshay Joshi
parent
169d8fa480
commit
0ddd053e88
@@ -71,7 +71,7 @@ SQLTab.propTypes = {
|
||||
getSQLValue: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
export function getFieldMetaData(field, schema, value, viewHelperProps) {
|
||||
export function getFieldMetaData(field, schema, value, viewHelperProps, onlyModeCheck=false) {
|
||||
let retData = {
|
||||
readonly: false,
|
||||
disabled: false,
|
||||
@@ -89,6 +89,10 @@ export function getFieldMetaData(field, schema, value, viewHelperProps) {
|
||||
return retData;
|
||||
}
|
||||
|
||||
if(onlyModeCheck) {
|
||||
return retData;
|
||||
}
|
||||
|
||||
let {visible, disabled, readonly} = field;
|
||||
|
||||
let verInLimit = (_.isUndefined(viewHelperProps.serverInfo) ? true :
|
||||
|
||||
Reference in New Issue
Block a user