chore: clean auditlogs codes

This commit is contained in:
sealday 2024-03-15 18:47:48 +08:00
parent 30f84b7ca3
commit 3e23aaa894
2 changed files with 2 additions and 5 deletions

View File

@ -6,7 +6,6 @@ export const AuditLogsBlockProvider: React.FC = ({ children, ...restProps }) =>
const auditChangesCollection = useAuditChangesCollection();
const auditLogsCollection = useAuditLogsCollection();
const collectionsCollection = useCollectionsCollection();
console.log('audit logs blocks');
return (
<ExtendCollectionsProvider collections={[auditLogsCollection, auditChangesCollection, collectionsCollection]}>

View File

@ -144,7 +144,6 @@ export const AuditLogs: any = () => {
type: 'void',
title: tval('Filter'),
'x-action': 'filter',
// 'x-designer': 'Filter.Action.Designer',
'x-component': 'Filter.Action',
'x-component-props': {
icon: 'FilterOutlined',
@ -184,8 +183,7 @@ export const AuditLogs: any = () => {
properties: {
o80rypwmeeg: {
type: 'void',
title: '{{ t("View") }}',
// 'x-designer': 'Action.Designer',
title: tval('View'),
'x-toolbar': 'ActionSchemaToolbar',
'x-settings': 'actionSettings:view',
'x-component': 'Action.Link',
@ -195,7 +193,7 @@ export const AuditLogs: any = () => {
properties: {
drawer: {
type: 'void',
title: '{{ t("View record") }}',
title: tval('View record'),
'x-component': 'Action.Container',
'x-component-props': {
className: 'nb-action-popup',