mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed jasmine test cases and added some missing messages for disabled menus.
This commit is contained in:
committed by
Akshay Joshi
parent
65d9f88c63
commit
9e90350e44
@@ -168,6 +168,9 @@ define([
|
||||
enable: supportedNodes.enabled.bind(
|
||||
null, pgBrowser.treeMenu, menuUtils.maintenanceSupportedNodes
|
||||
),
|
||||
data: {
|
||||
data_disabled: gettext('Please select any database from the browser tree to do Maintenance.'),
|
||||
},
|
||||
}];
|
||||
|
||||
// Add supported menus into the menus list
|
||||
@@ -185,7 +188,7 @@ define([
|
||||
null, pgBrowser.treeMenu, menuUtils.maintenanceSupportedNodes
|
||||
),
|
||||
data: {
|
||||
'data_disabled': gettext('Please select any database from the browser tree to do Maintenance.'),
|
||||
data_disabled: gettext('Please select any database from the browser tree to do Maintenance.'),
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user