mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1. Switch control and CodeMirror control UI improvements for read-only and disabled states.
2. If a form input value changes to null, pass it as an empty string in URL params. 3. Use server_type instead of type from the server info.
This commit is contained in:
committed by
Akshay Joshi
parent
48a5143485
commit
dc8ab7cd2a
@@ -130,6 +130,10 @@ function getChangedData(topSchema, viewHelperProps, sessData, stringify=false) {
|
||||
if(stringify && (_.isArray(change) || _.isObject(change))) {
|
||||
change = JSON.stringify(change);
|
||||
}
|
||||
/* Null values are not passed in URL params, pass it as an empty string */
|
||||
if(_.isNull(change)) {
|
||||
change = '';
|
||||
}
|
||||
return levelChanges[id] = change;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user