fix data fetching of app list

This commit is contained in:
JzoNg
2024-03-18 14:53:43 +08:00
parent 788550affa
commit cbe7116bb7
2 changed files with 6 additions and 4 deletions

View File

@ -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') },
]