mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-11-02 20:30:17 -06:00
Ensure that utility existence check should work for schema and
other child objects while taking Backup/Restore. Fixes #3722
This commit is contained in:
1 parent
6ddab02769
commit
0d5a6eeeff
3 files changed
+6
-3
No files matched your search
@@ -39,7 +39,8 @@ export class RestoreDialog extends Dialog {
|
||||
return;
|
||||
}
|
||||
|
||||
const baseUrl = this.url_for_utility_exists(serverInformation._id);
|
||||
var sid = serverInformation._type == 'database' ? serverInformation._pid : serverInformation._id;
|
||||
const baseUrl = this.url_for_utility_exists(sid);
|
||||
// Check pg_restore utility exists or not.
|
||||
let that = this;
|
||||
let service = axios.create({});
|
||||
|
||||
Reference in new issue
Block a user