Merge pull request 'fix: tval import error' (#385) from audit_logs into @hera/dev

Reviewed-on: daoyoucloud/tachycode#385
This commit is contained in:
sealday 2024-03-15 16:00:47 +08:00
commit e2a1a570e8

View File

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