浏览代码

fix: wrong link to web app repo in chatflow mode (#5062)

Pascal M 1 年之前
父节点
当前提交
9103112555
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web/app/components/app/overview/customize/index.tsx

+ 1 - 1
web/app/components/app/overview/customize/index.tsx

@@ -44,7 +44,7 @@ const CustomizeModal: FC<IShareLinkProps> = ({
 }) => {
   const { t } = useTranslation()
   const { locale } = useContext(I18n)
-  const isChatApp = mode === 'chat'
+  const isChatApp = mode === 'chat' || mode === 'advanced-chat'
 
   return <Modal
     title={t(`${prefixCustomize}.title`)}