Skip to content

Commit

Permalink
refactor: replace "summary" path with "start"
Browse files Browse the repository at this point in the history
  • Loading branch information
lizable authored and agatha197 committed Aug 30, 2024
1 parent 1cc884d commit b647e58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion react/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const router = createBrowserRouter([
element: <RedirectToSummary />,
},
{
path: '/summary',
path: '/start',
Component: () => {
const { token } = theme.useToken();
return (
Expand Down
7 changes: 4 additions & 3 deletions react/src/components/MainLayout/WebUISider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
FileDoneOutlined,
HddOutlined,
InfoCircleOutlined,
PlayCircleOutlined,
RocketOutlined,
SolutionOutlined,
ToolOutlined,
Expand Down Expand Up @@ -71,9 +72,9 @@ const WebUISider: React.FC<WebUISiderProps> = (props) => {

const generalMenu = filterEmptyItem<ItemType>([
{
label: t('webui.menu.Summary'),
icon: <DashboardOutlined />,
key: 'summary',
label: 'Start', // t('webui.menu.Summary'),
icon: <PlayCircleOutlined style={{ color: token.colorPrimaryBg }} />,
key: 'start', // 'summary',
},
{
label: t('webui.menu.Sessions'),
Expand Down

0 comments on commit b647e58

Please sign in to comment.