mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 16:46:31 +00:00
refactor: gridCard:configureItemActions
This commit is contained in:
parent
80746f0bfa
commit
fe9fbd6f6c
@ -104,7 +104,7 @@ export const gridCardItemActionInitializers_deprecated = new CompatibleSchemaIni
|
||||
|
||||
export const gridCardItemActionInitializers = new CompatibleSchemaInitializer(
|
||||
{
|
||||
name: 'actionInitializers:gridCardItem',
|
||||
name: 'gridCard:configureItemActions',
|
||||
title: '{{t("Configure actions")}}',
|
||||
icon: 'SettingOutlined',
|
||||
items: [
|
||||
|
@ -1023,7 +1023,7 @@ export const createGridCardBlockSchema = (options) => {
|
||||
const {
|
||||
formItemInitializers = 'details:configureFields',
|
||||
actionInitializers = 'gridCard:configureActions',
|
||||
itemActionInitializers = 'actionInitializers:gridCardItem',
|
||||
itemActionInitializers = 'gridCard:configureItemActions',
|
||||
collection,
|
||||
association,
|
||||
resource,
|
||||
|
@ -938,7 +938,7 @@ export const oneEmptyGridCardBlock: PageConfig = {
|
||||
version: '2.0',
|
||||
type: 'void',
|
||||
'x-align': 'left',
|
||||
'x-initializer': 'actionInitializers:gridCardItem',
|
||||
'x-initializer': 'gridCard:configureItemActions',
|
||||
'x-component': 'ActionBar',
|
||||
'x-component-props': {
|
||||
useProps: '{{ useGridCardActionBarProps }}',
|
||||
|
Loading…
Reference in New Issue
Block a user