fix links in create-app-modal

pull/20801/head
Bowen Liang 12 months ago
parent e78bf55055
commit 53d7dbefaa

@ -309,9 +309,7 @@ function AppPreview({ mode }: { mode: AppMode }) {
'chat': { 'chat': {
title: t('app.types.chatbot'), title: t('app.types.chatbot'),
description: t('app.newApp.chatbotUserDescription'), description: t('app.newApp.chatbotUserDescription'),
link: docLink('/guides/application-orchestrate/chatbot-application', { link: docLink('/guides/application-orchestrate/chatbot-application'),
'zh-hans': '/zh-hans/guides/workflow/readme',
}),
}, },
'advanced-chat': { 'advanced-chat': {
title: t('app.types.advanced'), title: t('app.types.advanced'),
@ -332,8 +330,8 @@ function AppPreview({ mode }: { mode: AppMode }) {
'workflow': { 'workflow': {
title: t('app.types.workflow'), title: t('app.types.workflow'),
description: t('app.newApp.workflowUserDescription'), description: t('app.newApp.workflowUserDescription'),
link: docLink('/guides/application-orchestrate/chatbot-application', { link: docLink('/guides/workflow/README', {
'zh-hans': '/zh-hans/guides/workflow/readme', 'zh-hans': '/guides/workflow/readme',
}), }),
}, },
} }

Loading…
Cancel
Save