Bläddra i källkod

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 månad sedan
förälder
incheckning
b3026dfb0d
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      web/app/components/datasets/documents/index.tsx

+ 1
- 1
web/app/components/datasets/documents/index.tsx Visa fil

@@ -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

Laddar…
Avbryt
Spara