1
0
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:
Robyn MacCallum 2023-03-29 13:19:58 -04:00 committed by GitHub
parent 38ac227936
commit e00bed7003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 13 deletions

View File

@ -770,6 +770,9 @@
"contactUs": {
"message": "Contact us"
},
"helpAndFeedback": {
"message": "Help and feedback"
},
"getHelp": {
"message": "Get help"
},

View File

@ -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"),
};
}