Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
856d7ce4
authored
Jul 29, 2024
by
Archer
Committed by
GitHub
Jul 29, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: app type (#2185)
parent
23f22cda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
projects/app/src/pages/chat/components/ChatHeader.tsx
+2
-2
No files found.
projects/app/src/pages/chat/components/ChatHeader.tsx
View file @
856d7ce4
...
@@ -11,7 +11,7 @@ import { useContextSelector } from 'use-context-selector';
...
@@ -11,7 +11,7 @@ import { useContextSelector } from 'use-context-selector';
import
{
ChatContext
}
from
'@/web/core/chat/context/chatContext'
;
import
{
ChatContext
}
from
'@/web/core/chat/context/chatContext'
;
import
MyTooltip
from
'@fastgpt/web/components/common/MyTooltip'
;
import
MyTooltip
from
'@fastgpt/web/components/common/MyTooltip'
;
import
{
InitChatResponse
}
from
'@/global/core/chat/api'
;
import
{
InitChatResponse
}
from
'@/global/core/chat/api'
;
import
{
AppTypeEnum
}
from
'@fastgpt/global/core/app/constants'
;
import
{
App
FolderTypeList
,
App
TypeEnum
}
from
'@fastgpt/global/core/app/constants'
;
import
{
useSystem
}
from
'@fastgpt/web/hooks/useSystem'
;
import
{
useSystem
}
from
'@fastgpt/web/hooks/useSystem'
;
import
LightRowTabs
from
'@fastgpt/web/components/common/Tabs/LightRowTabs'
;
import
LightRowTabs
from
'@fastgpt/web/components/common/Tabs/LightRowTabs'
;
import
{
useRouter
}
from
'next/router'
;
import
{
useRouter
}
from
'next/router'
;
...
@@ -92,7 +92,7 @@ const MobileDrawer = ({
...
@@ -92,7 +92,7 @@ const MobileDrawer = ({
id
:
item
.
_id
,
id
:
item
.
_id
,
name
:
item
.
name
,
name
:
item
.
name
,
avatar
:
item
.
avatar
,
avatar
:
item
.
avatar
,
isFolder
:
item
.
type
===
AppTypeEnum
.
folder
isFolder
:
AppFolderTypeList
.
includes
(
item
.
type
)
}))
}))
);
);
},
[]);
},
[]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment