1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

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

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;
}