mirror of
https://github.com/bitwarden/browser.git
synced 2024-06-25 10:25:36 +02:00
Desktop help menu adjustments (#5089)
This commit is contained in:
parent
38ac227936
commit
e00bed7003
|
@ -770,6 +770,9 @@
|
|||
"contactUs": {
|
||||
"message": "Contact us"
|
||||
},
|
||||
"helpAndFeedback": {
|
||||
"message": "Help and feedback"
|
||||
},
|
||||
"getHelp": {
|
||||
"message": "Get help"
|
||||
},
|
||||
|
|
|
@ -16,8 +16,7 @@ export class HelpMenu implements IMenubarMenu {
|
|||
|
||||
get items(): MenuItemConstructorOptions[] {
|
||||
const items = [
|
||||
this.getHelp,
|
||||
this.contactUs,
|
||||
this.helpAndFeedback,
|
||||
this.fileBugReport,
|
||||
this.legal,
|
||||
this.separator,
|
||||
|
@ -45,18 +44,10 @@ export class HelpMenu implements IMenubarMenu {
|
|||
this._aboutMenu = aboutMenu;
|
||||
}
|
||||
|
||||
private get contactUs(): MenuItemConstructorOptions {
|
||||
private get helpAndFeedback(): MenuItemConstructorOptions {
|
||||
return {
|
||||
id: "contactUs",
|
||||
label: this.localize("contactUs"),
|
||||
click: () => shell.openExternal("https://bitwarden.com/contact"),
|
||||
};
|
||||
}
|
||||
|
||||
private get getHelp(): MenuItemConstructorOptions {
|
||||
return {
|
||||
id: "getHelp",
|
||||
label: this.localize("getHelp"),
|
||||
id: "helpAndFeedback",
|
||||
label: this.localize("helpAndFeedback"),
|
||||
click: () => shell.openExternal("https://bitwarden.com/help"),
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user