Skip to content

Commit a6d8230

Browse files
committed
refactor: replace "session" path as default session page
1 parent 0ac1ef9 commit a6d8230

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: react/src/components/MainLayout/WebUISider.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const WebUISider: React.FC<WebUISiderProps> = (props) => {
105105
{
106106
label: t('webui.menu.Sessions'),
107107
icon: <BarsOutlined style={{ color: token.colorPrimaryBg }} />,
108-
key: 'job',
108+
key: 'session',
109109
},
110110
supportUserCommittedImage && {
111111
label: t('webui.menu.MyEnvironments'),

Diff for: react/src/pages/NeoSessionPage.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import AllocatedResourcesCard from '../components/AllocatedResourcesCard';
22
import BAIStartSimpleCard from '../components/BAIStartSimpleCard';
33
import Flex from '../components/Flex';
44
import NeoSessionList from '../components/NeoSessionList';
5+
import SessionsIcon from '../components/icons/SessionsIcon';
56
import { useWebUINavigate } from '../hooks';
6-
import { ReactComponent as SessionIcon } from '../icons/session.svg';
77
import { Card, Typography, Button, Tabs, Badge, theme } from 'antd';
88
import { t } from 'i18next';
99
import _ from 'lodash';
@@ -35,7 +35,7 @@ const NeoSessionPage: React.FC<NeoSessionPageProps> = (props) => {
3535
<Flex direction="column" align="stretch" gap={16}>
3636
<Flex align="start" gap={16}>
3737
<BAIStartSimpleCard
38-
icon={<SessionIcon />}
38+
icon={<SessionsIcon />}
3939
title={'Create a Session'}
4040
footerButtonProps={{
4141
onClick: () => {

0 commit comments

Comments
 (0)