mirror of https://github.com/langgenius/dify.git
Update web/app/components/datasets/documents/index.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
f64b055d2e
commit
b3026dfb0d
|
|
@ -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…
Reference in New Issue