Skip to content

Commit

Permalink
Fix a crash issue on RHEL based OS's occurring when File menu is clic…
Browse files Browse the repository at this point in the history
…ked.
  • Loading branch information
adityatoshniwal committed Aug 20, 2024
1 parent e7981c7 commit cda7d7d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions runtime/src/js/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,12 @@ function buildMenu(pgadminMenus, pgAdminMainScreen, callbacks) {
label: 'Configure runtime...', click: callbacks['configure'],
},
{ type: 'separator' },
{ role: 'hide' },
{ role: 'hideOthers' },
{ role: 'unhide' },
{ type: 'separator' },
...(isMac ? [
{ role: 'hide' },
{ role: 'hideOthers' },
{ role: 'unhide' },
{ type: 'separator' },
] : []),
{ role: 'quit' },
],
});
Expand Down

0 comments on commit cda7d7d

Please sign in to comment.