Fix error when showing empty menu.
This commit is contained in:
parent
f07d8c5677
commit
22927c9478
2 changed files with 1 additions and 5 deletions
|
@ -127,10 +127,6 @@ app.on('ready', function() {
|
|||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
label: 'Help',
|
||||
submenu: [],
|
||||
}
|
||||
];
|
||||
|
||||
var menu = Menu.buildFromTemplate(template);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue