Rearrange tools menu on the basis of usability and form groups of similar sub-menus.

This commit is contained in:
Akshay Joshi
2021-12-16 18:29:44 +05:30
parent 8cfdfd898d
commit 92a997b16a
16 changed files with 77 additions and 64 deletions

View File

@@ -392,9 +392,10 @@ define('tools.restore', [
module: this,
applies: ['tools'],
callback: 'restore_objects',
priority: 13,
priority: 2,
label: gettext('Restore...'),
icon: 'fa fa-upload',
below: true,
enable: supportedNodes.enabled.bind(
null, pgBrowser.tree, menuUtils.restoreSupportedNodes
),