diff --git a/packages/plugins/@nocobase/plugin-workflow/src/client/schemas/workflows.ts b/packages/plugins/@nocobase/plugin-workflow/src/client/schemas/workflows.ts index c6b7f0bb9..080953571 100644 --- a/packages/plugins/@nocobase/plugin-workflow/src/client/schemas/workflows.ts +++ b/packages/plugins/@nocobase/plugin-workflow/src/client/schemas/workflows.ts @@ -170,6 +170,18 @@ export const workflowSchema: ISchema = { }, 'x-align': 'left', }, + delete: { + type: 'void', + title: '{{t("Delete")}}', + 'x-component': 'Action', + 'x-component-props': { + useAction: '{{ cm.useBulkDestroyAction }}', + confirm: { + title: "{{t('Delete record')}}", + content: "{{t('Are you sure you want to delete it?')}}", + }, + }, + }, create: { type: 'void', title: '{{t("Add new")}}', @@ -218,18 +230,6 @@ export const workflowSchema: ISchema = { }, }, }, - delete: { - type: 'void', - title: '{{t("Delete")}}', - 'x-component': 'Action', - 'x-component-props': { - useAction: '{{ cm.useBulkDestroyAction }}', - confirm: { - title: "{{t('Delete record')}}", - content: "{{t('Are you sure you want to delete it?')}}", - }, - }, - }, }, }, table: {