mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-15 04:09:14 +00:00
feat: use title
instead of i18nKey
for menus. (#303)
This commit is contained in:
@@ -26,6 +26,7 @@ export const routesAlarm: Array<RouteRecordRaw> = [
|
||||
icon: "spam",
|
||||
hasGroup: false,
|
||||
activate: true,
|
||||
title: "Alerting",
|
||||
},
|
||||
component: Layout,
|
||||
children: [
|
||||
|
@@ -27,6 +27,7 @@ export const routesDashboard: Array<RouteRecordRaw> = [
|
||||
icon: "dashboard_customize",
|
||||
hasGroup: true,
|
||||
activate: true,
|
||||
title: "Dashboards",
|
||||
},
|
||||
children: [
|
||||
{
|
||||
@@ -36,6 +37,7 @@ export const routesDashboard: Array<RouteRecordRaw> = [
|
||||
meta: {
|
||||
i18nKey: "dashboardList",
|
||||
activate: true,
|
||||
title: "Dashboard List",
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -45,6 +47,7 @@ export const routesDashboard: Array<RouteRecordRaw> = [
|
||||
meta: {
|
||||
i18nKey: "dashboardNew",
|
||||
activate: true,
|
||||
title: "New Dashboard",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@@ -26,6 +26,7 @@ export const routesMarketplace: Array<RouteRecordRaw> = [
|
||||
icon: "marketplace",
|
||||
hasGroup: false,
|
||||
activate: true,
|
||||
title: "Marketplace",
|
||||
},
|
||||
component: Layout,
|
||||
children: [
|
||||
|
@@ -26,6 +26,7 @@ export const routesSettings: Array<RouteRecordRaw> = [
|
||||
icon: "settings",
|
||||
hasGroup: false,
|
||||
activate: true,
|
||||
title: "Settings",
|
||||
},
|
||||
component: Layout,
|
||||
children: [
|
||||
|
Reference in New Issue
Block a user