mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue enable/disable tools menus is not working in native menus. #5503
This commit is contained in:
parent
953fb31e14
commit
4c64124588
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user