fix: success test
This commit is contained in:
parent
b072a5a3a7
commit
2714d56ce1
@ -5,6 +5,7 @@ import { useMemo } from 'react'
|
|||||||
import { isEqual } from 'lodash-es'
|
import { isEqual } from 'lodash-es'
|
||||||
import { useBatchUpdateDocMetadata } from '@/service/knowledge/use-metadata'
|
import { useBatchUpdateDocMetadata } from '@/service/knowledge/use-metadata'
|
||||||
import Toast from '@/app/components/base/toast'
|
import Toast from '@/app/components/base/toast'
|
||||||
|
import { t } from 'i18next'
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
datasetId: string
|
datasetId: string
|
||||||
@ -132,7 +133,7 @@ const useBatchEditDocumentMetadata = ({
|
|||||||
hideEditModal()
|
hideEditModal()
|
||||||
Toast.notify({
|
Toast.notify({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
message: 'common.api.actionSuccess',
|
message: t('common.actionMsg.modifiedSuccessfully'),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user