chore: clean auditlogs codes
This commit is contained in:
parent
30f84b7ca3
commit
3e23aaa894
@ -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]}>
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user