mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 22:03:58 +00:00
fixed menu for non-mac
This commit is contained in:
@@ -89,17 +89,14 @@ module.exports = ({ editMenu, isMac }) => [
|
|||||||
{ command: 'app.resetSettings', hideDisabled: true },
|
{ command: 'app.resetSettings', hideDisabled: true },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
isMac
|
...(isMac
|
||||||
? {
|
? [
|
||||||
role: 'window',
|
{
|
||||||
submenu: [
|
role: 'window',
|
||||||
{ role: 'minimize' },
|
submenu: [{ role: 'minimize' }, { role: 'zoom' }, { type: 'separator' }, { role: 'front' }],
|
||||||
{ role: 'zoom' },
|
},
|
||||||
{ type: 'separator' },
|
]
|
||||||
{ role: 'front' },
|
: []),
|
||||||
],
|
|
||||||
}
|
|
||||||
: null,
|
|
||||||
{
|
{
|
||||||
label: 'Help',
|
label: 'Help',
|
||||||
submenu: [
|
submenu: [
|
||||||
|
|||||||
Reference in New Issue
Block a user