From 65f8bd48aec4fe643af194a5b571b6bc236d9a75 Mon Sep 17 00:00:00 2001 From: Junyi Date: Thu, 9 May 2024 14:58:46 +0800 Subject: [PATCH] fix(plugin-workflow-custom-action-trigger): fix locales (#4298) --- .../client/src/schema-component/antd/action/Action.Designer.tsx | 2 +- .../plugin-workflow-action-trigger/src/client/ActionTrigger.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/core/client/src/schema-component/antd/action/Action.Designer.tsx b/packages/core/client/src/schema-component/antd/action/Action.Designer.tsx index 6d6ed34bcb..7cf3ed0651 100644 --- a/packages/core/client/src/schema-component/antd/action/Action.Designer.tsx +++ b/packages/core/client/src/schema-component/antd/action/Action.Designer.tsx @@ -461,7 +461,7 @@ export function WorkflowConfig() { }), 'customize:triggerWorkflows': t( 'Workflow will be triggered directly once the button clicked, without data saving. Only supports to be bound with "Custom action event".', - { ns: 'workflow' }, + { ns: '@nocobase/plugin-workflow-custom-action-trigger' }, ), 'customize:triggerWorkflows_deprecated': t( '"Submit to workflow" to "Post-action event" is deprecated, please use "Custom action event" instead.', diff --git a/packages/plugins/@nocobase/plugin-workflow-action-trigger/src/client/ActionTrigger.tsx b/packages/plugins/@nocobase/plugin-workflow-action-trigger/src/client/ActionTrigger.tsx index 5991e6b70c..1205f484c4 100644 --- a/packages/plugins/@nocobase/plugin-workflow-action-trigger/src/client/ActionTrigger.tsx +++ b/packages/plugins/@nocobase/plugin-workflow-action-trigger/src/client/ActionTrigger.tsx @@ -124,7 +124,6 @@ export default class extends Trigger { 'x-decorator': 'FormItem', 'x-component': 'AppendsTreeSelect', 'x-component-props': { - title: 'Preload associations', multiple: true, useCollection() { const { values } = useForm();