fix: tval import error

This commit is contained in:
sealday 2024-03-15 15:06:19 +08:00
parent bca3a324e4
commit c5a1299912

View File

@ -1,4 +1,4 @@
import { useAuditLogsTranslation } from './locale'; import { tval } from './locale';
export const useAuditLogsCollection = () => { export const useAuditLogsCollection = () => {
return { return {
@ -91,7 +91,7 @@ export const useAuditLogsCollection = () => {
targetKey: 'id', targetKey: 'id',
uiSchema: { uiSchema: {
type: 'object', type: 'object',
title: '{{t("Details of changes", { ns: "audit-logs" })}}', title: tval('Details of changes'),
}, },
}, },
], ],