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 auditChangesCollection = useAuditChangesCollection();
|
||||||
const auditLogsCollection = useAuditLogsCollection();
|
const auditLogsCollection = useAuditLogsCollection();
|
||||||
const collectionsCollection = useCollectionsCollection();
|
const collectionsCollection = useCollectionsCollection();
|
||||||
console.log('audit logs blocks');
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ExtendCollectionsProvider collections={[auditLogsCollection, auditChangesCollection, collectionsCollection]}>
|
<ExtendCollectionsProvider collections={[auditLogsCollection, auditChangesCollection, collectionsCollection]}>
|
||||||
|
@ -144,7 +144,6 @@ export const AuditLogs: any = () => {
|
|||||||
type: 'void',
|
type: 'void',
|
||||||
title: tval('Filter'),
|
title: tval('Filter'),
|
||||||
'x-action': 'filter',
|
'x-action': 'filter',
|
||||||
// 'x-designer': 'Filter.Action.Designer',
|
|
||||||
'x-component': 'Filter.Action',
|
'x-component': 'Filter.Action',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
icon: 'FilterOutlined',
|
icon: 'FilterOutlined',
|
||||||
@ -184,8 +183,7 @@ export const AuditLogs: any = () => {
|
|||||||
properties: {
|
properties: {
|
||||||
o80rypwmeeg: {
|
o80rypwmeeg: {
|
||||||
type: 'void',
|
type: 'void',
|
||||||
title: '{{ t("View") }}',
|
title: tval('View'),
|
||||||
// 'x-designer': 'Action.Designer',
|
|
||||||
'x-toolbar': 'ActionSchemaToolbar',
|
'x-toolbar': 'ActionSchemaToolbar',
|
||||||
'x-settings': 'actionSettings:view',
|
'x-settings': 'actionSettings:view',
|
||||||
'x-component': 'Action.Link',
|
'x-component': 'Action.Link',
|
||||||
@ -195,7 +193,7 @@ export const AuditLogs: any = () => {
|
|||||||
properties: {
|
properties: {
|
||||||
drawer: {
|
drawer: {
|
||||||
type: 'void',
|
type: 'void',
|
||||||
title: '{{ t("View record") }}',
|
title: tval('View record'),
|
||||||
'x-component': 'Action.Container',
|
'x-component': 'Action.Container',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
className: 'nb-action-popup',
|
className: 'nb-action-popup',
|
||||||
|
Loading…
Reference in New Issue
Block a user