mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-20 12:39:14 +08:00
refactor: remove external link for dataset description guidance (#18884)
This commit is contained in:
parent
7613d9dc33
commit
7ccec5cd95
@ -4,7 +4,6 @@ import { useMount } from 'ahooks'
|
|||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
import { isEqual } from 'lodash-es'
|
import { isEqual } from 'lodash-es'
|
||||||
import { RiCloseLine } from '@remixicon/react'
|
import { RiCloseLine } from '@remixicon/react'
|
||||||
import { BookOpenIcon } from '@heroicons/react/24/outline'
|
|
||||||
import { ApiConnectionMod } from '@/app/components/base/icons/src/vender/solid/development'
|
import { ApiConnectionMod } from '@/app/components/base/icons/src/vender/solid/development'
|
||||||
import cn from '@/utils/classnames'
|
import cn from '@/utils/classnames'
|
||||||
import IndexMethodRadio from '@/app/components/datasets/settings/index-method-radio'
|
import IndexMethodRadio from '@/app/components/datasets/settings/index-method-radio'
|
||||||
@ -223,10 +222,6 @@ const SettingsModal: FC<SettingsModalProps> = ({
|
|||||||
className='resize-none'
|
className='resize-none'
|
||||||
placeholder={t('datasetSettings.form.descPlaceholder') || ''}
|
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>
|
</div>
|
||||||
<div className={rowClass}>
|
<div className={rowClass}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user