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:
@@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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"),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user