fix: success test

This commit is contained in:
Joel 2025-03-06 18:19:55 +08:00
parent b072a5a3a7
commit 2714d56ce1

View File

@ -5,6 +5,7 @@ import { useMemo } from 'react'
import { isEqual } from 'lodash-es'
import { useBatchUpdateDocMetadata } from '@/service/knowledge/use-metadata'
import Toast from '@/app/components/base/toast'
import { t } from 'i18next'
type Props = {
datasetId: string
@ -132,7 +133,7 @@ const useBatchEditDocumentMetadata = ({
hideEditModal()
Toast.notify({
type: 'success',
message: 'common.api.actionSuccess',
message: t('common.actionMsg.modifiedSuccessfully'),
})
}