Просмотр исходного кода

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 месяц назад
Родитель
Сommit
b3026dfb0d
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      web/app/components/datasets/documents/index.tsx

+ 1
- 1
web/app/components/datasets/documents/index.tsx Просмотреть файл

const total = documentsRes?.total || 0 const total = documentsRes?.total || 0


const routeToDocCreate = () => { 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') { if (dataset?.runtime_mode === 'rag_pipeline') {
router.push(`/datasets/${datasetId}/documents/create-from-pipeline`) router.push(`/datasets/${datasetId}/documents/create-from-pipeline`)
return return

Загрузка…
Отмена
Сохранить