|
|
|
@ -14,7 +14,6 @@ import Loading from '@/app/components/base/loading'
|
|
|
|
import Badge from '@/app/components/base/badge'
|
|
|
|
import Badge from '@/app/components/base/badge'
|
|
|
|
import { useKnowledge } from '@/hooks/use-knowledge'
|
|
|
|
import { useKnowledge } from '@/hooks/use-knowledge'
|
|
|
|
import cn from '@/utils/classnames'
|
|
|
|
import cn from '@/utils/classnames'
|
|
|
|
import { basePath } from '@/utils/var'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ISelectDataSetProps = {
|
|
|
|
export type ISelectDataSetProps = {
|
|
|
|
isShow: boolean
|
|
|
|
isShow: boolean
|
|
|
|
@ -112,7 +111,7 @@ const SelectDataSet: FC<ISelectDataSetProps> = ({
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<span className='text-text-tertiary'>{t('appDebug.feature.dataSet.noDataSet')}</span>
|
|
|
|
<span className='text-text-tertiary'>{t('appDebug.feature.dataSet.noDataSet')}</span>
|
|
|
|
<Link href={`${basePath}/datasets/create`} className='font-normal text-text-accent'>{t('appDebug.feature.dataSet.toCreate')}</Link>
|
|
|
|
<Link href='/datasets/create' className='font-normal text-text-accent'>{t('appDebug.feature.dataSet.toCreate')}</Link>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|
|
|
|
|
|
|
|
|
|