mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 10:28:42 +00:00
myapps
This commit is contained in:
@@ -7,7 +7,7 @@ import { useQuery } from '@tanstack/react-query';
|
||||
const unAuthPage: { [key: string]: boolean } = {
|
||||
'/': true,
|
||||
'/login': true,
|
||||
'/model/share': true,
|
||||
'/appStore': true,
|
||||
'/chat/share': true
|
||||
};
|
||||
|
||||
|
@@ -32,12 +32,6 @@ const Navbar = ({ unread }: { unread: number }) => {
|
||||
link: `/app/list`,
|
||||
activeLink: ['/app/list']
|
||||
},
|
||||
{
|
||||
label: '旧应用',
|
||||
icon: 'model',
|
||||
link: `/model?modelId=${lastModelId}`,
|
||||
activeLink: ['/model']
|
||||
},
|
||||
{
|
||||
label: '知识库',
|
||||
icon: 'kb',
|
||||
@@ -47,8 +41,8 @@ const Navbar = ({ unread }: { unread: number }) => {
|
||||
{
|
||||
label: '市场',
|
||||
icon: 'appStore',
|
||||
link: '/model/share',
|
||||
activeLink: ['/model/share']
|
||||
link: '/appStore',
|
||||
activeLink: ['/appStore']
|
||||
},
|
||||
{
|
||||
label: '账号',
|
||||
@@ -57,7 +51,7 @@ const Navbar = ({ unread }: { unread: number }) => {
|
||||
activeLink: ['/number']
|
||||
}
|
||||
],
|
||||
[lastChatId, lastChatModelId, lastModelId]
|
||||
[lastChatId, lastChatModelId]
|
||||
);
|
||||
|
||||
const itemStyles: any = {
|
||||
|
Reference in New Issue
Block a user