mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
fix data fetching of app list
This commit is contained in:
@ -27,6 +27,8 @@ const getKey = (
|
||||
|
||||
if (activeTab !== 'all')
|
||||
params.params.mode = activeTab
|
||||
else
|
||||
delete params.params.mode
|
||||
|
||||
return params
|
||||
}
|
||||
@ -52,7 +54,7 @@ const Apps = () => {
|
||||
const options = [
|
||||
{ value: 'all', text: t('app.types.all') },
|
||||
{ value: 'chat', text: t('app.types.chatbot') },
|
||||
{ value: 'agent', text: t('app.types.agent') },
|
||||
{ value: 'agent-chat', text: t('app.types.agent') },
|
||||
{ value: 'workflow', text: t('app.types.workflow') },
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user