refactor: associatiion fields in table should not have data scope settings (#2509)

This commit is contained in:
katherinehhh 2023-08-29 09:31:42 +08:00 committed by GitHub
parent 5411faf9d4
commit ec84747f13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,7 @@ export const TableColumnDesigner = (props) => {
dn.refresh();
}}
/>
{isSelectFieldMode && !field.readPretty && !uiSchema?.['x-read-pretty'] && (
{isSelectFieldMode && !field.readPretty && !uiSchema?.['x-read-pretty'] && isSubTableColumn && (
<SchemaSettings.ModalItem
title={t('Set the data scope')}
schema={