From fec3662dc9e0f279ef9d986d0e74ec22781bf28e Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Fri, 29 Mar 2024 18:24:40 +0800 Subject: [PATCH] fix: filterTargetKey only support view collection (#3872) --- .../component/CollectionsManager/EditCollectionAction.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditCollectionAction.tsx b/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditCollectionAction.tsx index 87a07cff5..7d7f4133c 100644 --- a/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditCollectionAction.tsx +++ b/packages/plugins/@nocobase/plugin-data-source-manager/src/client/component/CollectionsManager/EditCollectionAction.tsx @@ -69,7 +69,7 @@ const getSchema = (schema: IField, record: any, compile, getContainer): ISchema 'x-decorator': 'FormItem', 'x-component': 'Select', enum: '{{filterTargetKeyOptions}}', - 'x-visible': '{{isView}}', + 'x-visible': '{{!!isView}}', }, footer: { type: 'void',