mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-11-02 20:30:17 -06:00
Fixed an issue enable/disable tools menus is not working in native menus. #5503
This commit is contained in:
1 parent
953fb31e14
commit
4c64124588
1 file changed
+2
-2
@@ -481,8 +481,8 @@ define('pgadmin.browser', [
|
||||
let {name: browser} = getBrowser();
|
||||
if(browser == 'Nwjs') {
|
||||
pgBrowser.MainMenus.forEach((menu) => {
|
||||
menu.menuItems.forEach((item) => {
|
||||
item.setDisabled(item.disabled(d, item));
|
||||
menu.menuItems.forEach((mitem) => {
|
||||
mitem.setDisabled(mitem.disabled(d, item));
|
||||
});
|
||||
});
|
||||
}else {
|
||||
|
||||
Reference in new issue
Block a user