fix syntax not adding additional items
This commit is contained in:
parent
7401204b70
commit
ba7830acbe
|
@ -16,13 +16,13 @@ export class WindowMenu implements IMenubarMenu {
|
|||
}
|
||||
|
||||
get items(): MenuItemConstructorOptions[] {
|
||||
const items = [this.minimize, this.hideToMenu, this.alwaysOnTop];
|
||||
var items = [this.minimize, this.hideToMenu, this.alwaysOnTop];
|
||||
|
||||
if (isMac()) {
|
||||
items.concat([this.zoom, this.separator, this.bringAllToFront]);
|
||||
items.push(this.zoom, this.separator, this.bringAllToFront);
|
||||
}
|
||||
|
||||
items.concat([this.separator, this.close]);
|
||||
items.push(this.separator, this.close);
|
||||
return items;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue