mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that the Import/Export server menu option is visible. Fixes #7646
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user