From cd59cd85681673f109602d00cddcf55c8fe10804 Mon Sep 17 00:00:00 2001 From: Dunqing Date: Mon, 10 Apr 2023 20:35:16 +0800 Subject: [PATCH] fix: remove designer (#1684) --- packages/core/client/src/acl/Configuration/schemas/scopes.ts | 2 -- .../client/src/schema-templates/schemas/uiSchemaTemplates.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/packages/core/client/src/acl/Configuration/schemas/scopes.ts b/packages/core/client/src/acl/Configuration/schemas/scopes.ts index 95a7852dd..cf8cbab32 100644 --- a/packages/core/client/src/acl/Configuration/schemas/scopes.ts +++ b/packages/core/client/src/acl/Configuration/schemas/scopes.ts @@ -311,7 +311,6 @@ export const scopesSchema: ISchema = { 'x-action': 'destroy', 'x-decorator': 'ACLActionProvider', 'x-component': 'Action.Link', - 'x-designer': 'Action.Designer', 'x-component-props': { icon: 'DeleteOutlined', confirm: { @@ -342,7 +341,6 @@ export const scopesSchema: ISchema = { title: '{{ t("Submit") }}', 'x-action': 'submit', 'x-component': 'Action', - 'x-designer': 'Action.Designer', 'x-component-props': { type: 'primary', htmlType: 'submit', diff --git a/packages/core/client/src/schema-templates/schemas/uiSchemaTemplates.ts b/packages/core/client/src/schema-templates/schemas/uiSchemaTemplates.ts index 164584252..acc9a0bf2 100644 --- a/packages/core/client/src/schema-templates/schemas/uiSchemaTemplates.ts +++ b/packages/core/client/src/schema-templates/schemas/uiSchemaTemplates.ts @@ -70,7 +70,6 @@ export const uiSchemaTemplatesSchema: ISchema = { title: '{{ t("Delete") }}', 'x-action': 'destroy', 'x-component': 'Action', - 'x-designer': 'Action.Designer', 'x-component-props': { icon: 'DeleteOutlined', confirm: {