mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 16:46:31 +00:00
refactor: calendar:configureActions
This commit is contained in:
parent
d697178f1d
commit
6a9addf518
@ -17,7 +17,7 @@ test.describe('ReadPrettyFormActionInitializers & CalendarFormActionInitializers
|
||||
await mockRecord('general', { singleLineText: 'test' });
|
||||
await nocoPage.goto();
|
||||
await page.getByTitle('test').click();
|
||||
await page.getByLabel('schema-initializer-ActionBar-actionInitializers:calendarForm-general').hover();
|
||||
await page.getByLabel('schema-initializer-ActionBar-calendar:configureActionsForm-general').hover();
|
||||
await page.getByRole('menuitem', { name: 'Print' }).click();
|
||||
await page.getByLabel('action-Action-Print-print-general-form').click();
|
||||
});
|
||||
|
@ -441,7 +441,7 @@ export const oneCalenderWithViewAction: PageConfig = {
|
||||
type: 'void',
|
||||
version: '2.0',
|
||||
'x-component': 'CalendarV2.ActionBar',
|
||||
'x-initializer': 'actionInitializers:calendar',
|
||||
'x-initializer': 'calendar:configureActions',
|
||||
'x-component-props': {
|
||||
style: {
|
||||
marginBottom: 24,
|
||||
|
@ -94,7 +94,7 @@ export const calendarActionInitializers = new CompatibleSchemaInitializer(
|
||||
{
|
||||
title: generateNTemplate('Configure actions'),
|
||||
icon: 'SettingOutlined',
|
||||
name: 'actionInitializers:calendar',
|
||||
name: 'calendar:configureActions',
|
||||
style: { marginLeft: 8 },
|
||||
items: [
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ export const createCalendarBlockSchema = (options) => {
|
||||
marginBottom: 24,
|
||||
},
|
||||
},
|
||||
'x-initializer': 'actionInitializers:calendar',
|
||||
'x-initializer': 'calendar:configureActions',
|
||||
properties: {},
|
||||
},
|
||||
event: {
|
||||
|
Loading…
Reference in New Issue
Block a user