Ensure that the Import/Export server menu option is visible. Fixes #7646

This commit is contained in:
Akshay Joshi 2022-08-26 14:38:35 +05:30
parent 37082a955b
commit fe0577be5f
4 changed files with 23 additions and 3 deletions

View File

@ -11,6 +11,7 @@ notes for it.
.. toctree::
:maxdepth: 1
release_notes_6_14
release_notes_6_13
release_notes_6_12
release_notes_6_11

View File

@ -0,0 +1,20 @@
************
Version 6.14
************
Release date: 2022-09-22
This release contains a number of bug fixes and new features since the release of pgAdmin 4 v6.13.
New features
************
Housekeeping
************
Bug fixes
*********
| `Issue #7646 <https://redmine.postgresql.org/issues/7646>`_ - Ensure that the Import/Export server menu option is visible.

View File

@ -41,7 +41,7 @@ export default class ImportExportServersModule {
icon: 'fa fa-shopping-cart',
}];
this.pgBrowser.add_menus(menus);
pgBrowser.add_menus(menus);
}
// This is a callback function to show import/export servers when user click on menu item.

View File

@ -7,13 +7,12 @@
//
//////////////////////////////////////////////////////////////
import pgAdmin from 'sources/pgadmin';
import pgBrowser from 'top/browser/static/js/browser';
import ImportExportServersModule from './import_export_servers';
if(!pgAdmin.Tools) {
pgAdmin.Tools = {};
}
pgAdmin.Tools.ImportExportServersModule = ImportExportServersModule.getInstance(pgAdmin, pgBrowser);
pgAdmin.Tools.ImportExportServersModule = ImportExportServersModule.getInstance();
module.exports = {
ImportExportServersModule: ImportExportServersModule,