refactor: chartFilterForm:configureActions

This commit is contained in:
Zeke Zhang 2024-03-07 19:29:04 +08:00
parent 6a9addf518
commit bcc7c66a89
2 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ export const chartFilterActionInitializers_deprecated = new CompatibleSchemaInit
export const chartFilterActionInitializers = new CompatibleSchemaInitializer( export const chartFilterActionInitializers = new CompatibleSchemaInitializer(
{ {
name: 'actionInitializers:chartFilterAction', name: 'chartFilterForm:configureActions',
'data-testid': 'configure-actions-button-of-chart-filter', 'data-testid': 'configure-actions-button-of-chart-filter',
title: '{{t("Configure actions")}}', title: '{{t("Configure actions")}}',
icon: 'SettingOutlined', icon: 'SettingOutlined',

View File

@ -36,7 +36,7 @@ const createFilterSchema = () => {
}, },
actions: { actions: {
type: 'void', type: 'void',
'x-initializer': 'actionInitializers:chartFilterAction', 'x-initializer': 'chartFilterForm:configureActions',
'x-component': 'ActionBar', 'x-component': 'ActionBar',
'x-component-props': { 'x-component-props': {
layout: 'one-column', layout: 'one-column',