mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
fix desktop close window shortcut (#1372)
* fix syntax not adding additional items * lint
This commit is contained in:
@@ -19,10 +19,10 @@ export class WindowMenu implements IMenubarMenu {
|
|||||||
const items = [this.minimize, this.hideToMenu, this.alwaysOnTop];
|
const items = [this.minimize, this.hideToMenu, this.alwaysOnTop];
|
||||||
|
|
||||||
if (isMac()) {
|
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;
|
return items;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user