Skip to content

Commit

Permalink
refactor: replace "session" path as default session page
Browse files Browse the repository at this point in the history
  • Loading branch information
lizable committed Aug 30, 2024
1 parent b63c4e8 commit f8afbf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion react/src/components/MainLayout/WebUISider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const WebUISider: React.FC<WebUISiderProps> = (props) => {
{
label: t('webui.menu.Sessions'),
icon: <BarsOutlined style={{ color: token.colorPrimaryBg }} />,
key: 'job',
key: 'session',
},
supportUserCommittedImage && {
label: t('webui.menu.MyEnvironments'),
Expand Down
4 changes: 2 additions & 2 deletions react/src/pages/NeoSessionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import AllocatedResourcesCard from '../components/AllocatedResourcesCard';
import BAIStartSimpleCard from '../components/BAIStartSimpleCard';
import Flex from '../components/Flex';
import NeoSessionList from '../components/NeoSessionList';
import SessionsIcon from '../components/icons/SessionsIcon';
import { useWebUINavigate } from '../hooks';
import { ReactComponent as SessionIcon } from '../icons/session.svg';
import { Card, Typography, Button, Tabs, Badge, theme } from 'antd';
import { t } from 'i18next';
import _ from 'lodash';
Expand Down Expand Up @@ -35,7 +35,7 @@ const NeoSessionPage: React.FC<NeoSessionPageProps> = (props) => {
<Flex direction="column" align="stretch" gap={16}>
<Flex align="start" gap={16}>
<BAIStartSimpleCard
icon={<SessionIcon />}
icon={<SessionsIcon />}
title={'Create a Session'}
footerButtonProps={{
onClick: () => {
Expand Down

0 comments on commit f8afbf7

Please sign in to comment.