1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-27 17:18:04 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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