fix desktop close window shortcut (#1372)

* fix syntax not adding additional items

* lint
This commit is contained in:
Jake Fink 2022-02-23 09:58:59 -05:00 committed by GitHub
parent 7401204b70
commit e570551a5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -19,10 +19,10 @@ export class WindowMenu implements IMenubarMenu {
const 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;
}