mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-11-02 08:10:03 -06:00
Fixed some issues in Backup and PSQL tool
This commit is contained in:
1 parent
25e05de27d
commit
a3c3d91515
3 files changed
+5
-3
No files matched your search
@@ -638,7 +638,8 @@ export default class BackupSchema extends BaseUISchema {
|
||||
state.enable_row_security = false;
|
||||
return true;
|
||||
},
|
||||
visible: isVisibleForServerBackup(obj.backupType)
|
||||
visible: isVisibleForServerBackup(obj.backupType),
|
||||
helpMessage: gettext('This option is enabled only when Use INSERT Commands is enabled.')
|
||||
}, {
|
||||
id: 'with_oids',
|
||||
label: gettext('With OID(s)'),
|
||||
@@ -646,7 +647,7 @@ export default class BackupSchema extends BaseUISchema {
|
||||
deps: ['use_column_inserts', 'use_insert_commands'],
|
||||
group: gettext('Table Options'),
|
||||
disabled: function(state) {
|
||||
let serverInfo = _.isUndefined(obj.fieldOptions.nodeInfo) ? undefined : obj.fieldOptions.nodeInfo.server;
|
||||
let serverInfo = _.isUndefined(obj.treeNodeInfo) ? undefined : obj.treeNodeInfo.server;
|
||||
|
||||
if (!_.isUndefined(serverInfo) && serverInfo.version >= 120000)
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user