Преглед на файлове

refactor: remove external link for dataset description guidance (#18884)

tags/1.3.1
GuanMu преди 6 месеца
родител
ревизия
7ccec5cd95
No account linked to committer's email address
променени са 1 файла, в които са добавени 0 реда и са изтрити 5 реда
  1. 0
    5
      web/app/components/app/configuration/dataset-config/settings-modal/index.tsx

+ 0
- 5
web/app/components/app/configuration/dataset-config/settings-modal/index.tsx Целия файл

@@ -4,7 +4,6 @@ import { useMount } from 'ahooks'
import { useTranslation } from 'react-i18next'
import { isEqual } from 'lodash-es'
import { RiCloseLine } from '@remixicon/react'
import { BookOpenIcon } from '@heroicons/react/24/outline'
import { ApiConnectionMod } from '@/app/components/base/icons/src/vender/solid/development'
import cn from '@/utils/classnames'
import IndexMethodRadio from '@/app/components/datasets/settings/index-method-radio'
@@ -223,10 +222,6 @@ const SettingsModal: FC<SettingsModalProps> = ({
className='resize-none'
placeholder={t('datasetSettings.form.descPlaceholder') || ''}
/>
<a className='mt-2 flex h-[18px] items-center px-3 text-xs text-text-tertiary' href="https://docs.dify.ai/features/datasets#how-to-write-a-good-dataset-description" target='_blank' rel='noopener noreferrer'>
<BookOpenIcon className='mr-1 h-[18px] w-3' />
{t('datasetSettings.form.descWrite')}
</a>
</div>
</div>
<div className={rowClass}>

Loading…
Отказ
Запис