mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
2 fixes for the backup dialogue when using directory format:
Ensure compression level is passed to pg_dump when backing up in directory format. Fixes #4482 Ensure the number of jobs can be specified when backing up in directory format. Fixes #4483
This commit is contained in:
committed by
Dave Page
parent
1f6a0a87f6
commit
2182dc3cc5
@@ -178,7 +178,10 @@ define([
|
||||
type: 'int',
|
||||
min: 0,
|
||||
max: 9,
|
||||
disabled: false,
|
||||
deps: ['format'],
|
||||
disabled: function(m) {
|
||||
return (m.get('format') === 'tar');
|
||||
},
|
||||
visible: function(m) {
|
||||
if (!_.isUndefined(m.get('type')) && m.get('type') === 'server')
|
||||
return false;
|
||||
@@ -207,7 +210,7 @@ define([
|
||||
type: 'int',
|
||||
deps: ['format'],
|
||||
disabled: function(m) {
|
||||
return !(m.get('format') === 'Directory');
|
||||
return !(m.get('format') === 'directory');
|
||||
},
|
||||
visible: function(m) {
|
||||
if (!_.isUndefined(m.get('type')) && m.get('type') === 'server')
|
||||
|
||||
Reference in New Issue
Block a user