Fixed jasmine test cases and added some missing messages for disabled menus.

This commit is contained in:
Pramod Ahire
2021-02-03 12:15:37 +05:30
committed by Akshay Joshi
parent 65d9f88c63
commit 9e90350e44
18 changed files with 64 additions and 37 deletions

View File

@@ -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.'),
},
});
}