1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00: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
2 changed files with 7 additions and 13 deletions

View File

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

View File

@@ -16,8 +16,7 @@ export class HelpMenu implements IMenubarMenu {
get items(): MenuItemConstructorOptions[] { get items(): MenuItemConstructorOptions[] {
const items = [ const items = [
this.getHelp, this.helpAndFeedback,
this.contactUs,
this.fileBugReport, this.fileBugReport,
this.legal, this.legal,
this.separator, this.separator,
@@ -45,18 +44,10 @@ export class HelpMenu implements IMenubarMenu {
this._aboutMenu = aboutMenu; this._aboutMenu = aboutMenu;
} }
private get contactUs(): MenuItemConstructorOptions { private get helpAndFeedback(): MenuItemConstructorOptions {
return { return {
id: "contactUs", id: "helpAndFeedback",
label: this.localize("contactUs"), label: this.localize("helpAndFeedback"),
click: () => shell.openExternal("https://bitwarden.com/contact"),
};
}
private get getHelp(): MenuItemConstructorOptions {
return {
id: "getHelp",
label: this.localize("getHelp"),
click: () => shell.openExternal("https://bitwarden.com/help"), click: () => shell.openExternal("https://bitwarden.com/help"),
}; };
} }