瀏覽代碼

Update web/app/components/datasets/documents/index.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
tags/2.0.0-beta.2
Wu Tianwei 1 月之前
父節點
當前提交
b3026dfb0d
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      web/app/components/datasets/documents/index.tsx

+ 1
- 1
web/app/components/datasets/documents/index.tsx 查看文件

@@ -216,7 +216,7 @@ const Documents: FC<IDocumentsProps> = ({ datasetId }) => {
const total = documentsRes?.total || 0

const routeToDocCreate = () => {
// if dataset is create from pipeline, go to create from pipeline page
// if dataset is created from pipeline, go to create from pipeline page
if (dataset?.runtime_mode === 'rag_pipeline') {
router.push(`/datasets/${datasetId}/documents/create-from-pipeline`)
return

Loading…
取消
儲存