mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-28 17:27:50 +01:00
fix desktop close window shortcut (#1372)
* fix syntax not adding additional items * lint
This commit is contained in:
parent
7401204b70
commit
e570551a5a
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user