mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove unneeded menu IDs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
67a55096fe
commit
871734e44f
@ -70,7 +70,6 @@ export function buildMenu(windowManager: WindowManager) {
|
||||
|
||||
const macAppMenu: MenuItemConstructorOptions = {
|
||||
label: app.getName(),
|
||||
id: "Application",
|
||||
submenu: [
|
||||
{
|
||||
label: `About ${productName}`,
|
||||
@ -81,7 +80,6 @@ export function buildMenu(windowManager: WindowManager) {
|
||||
{ type: "separator" },
|
||||
{
|
||||
label: "Preferences",
|
||||
id: "Preferences",
|
||||
accelerator: "CmdOrCtrl+,",
|
||||
click() {
|
||||
navigate(preferencesURL());
|
||||
@ -112,7 +110,6 @@ export function buildMenu(windowManager: WindowManager) {
|
||||
};
|
||||
const fileMenu: MenuItemConstructorOptions = {
|
||||
label: "File",
|
||||
id: "File",
|
||||
submenu: [
|
||||
{
|
||||
label: "Add Cluster",
|
||||
@ -125,7 +122,6 @@ export function buildMenu(windowManager: WindowManager) {
|
||||
{ type: "separator" },
|
||||
{
|
||||
label: "Preferences",
|
||||
id: "Preferences",
|
||||
accelerator: "Ctrl+,",
|
||||
click() {
|
||||
navigate(preferencesURL());
|
||||
@ -172,7 +168,6 @@ export function buildMenu(windowManager: WindowManager) {
|
||||
};
|
||||
const viewMenu: MenuItemConstructorOptions = {
|
||||
label: "View",
|
||||
id: "View",
|
||||
submenu: [
|
||||
{
|
||||
label: "Catalog",
|
||||
@ -221,7 +216,6 @@ export function buildMenu(windowManager: WindowManager) {
|
||||
};
|
||||
const helpMenu: MenuItemConstructorOptions = {
|
||||
role: "help",
|
||||
id: "help",
|
||||
submenu: [
|
||||
{
|
||||
label: "Welcome",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user