Sfoglia il codice sorgente

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 mese fa
parent
commit
b3026dfb0d
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      web/app/components/datasets/documents/index.tsx

+ 1
- 1
web/app/components/datasets/documents/index.tsx Vedi File

@@ -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…
Annulla
Salva