diff --git a/packages/core/client/src/schema-settings/SchemaSettings.tsx b/packages/core/client/src/schema-settings/SchemaSettings.tsx index c23a05de66..76f815750c 100644 --- a/packages/core/client/src/schema-settings/SchemaSettings.tsx +++ b/packages/core/client/src/schema-settings/SchemaSettings.tsx @@ -1263,7 +1263,7 @@ export const SchemaSettingsLinkageRules = function LinkageRules(props) { const localVariables = useLocalVariables(); const record = useRecord(); const { type: formBlockType } = useFormBlockType(); - const type = props?.type || ['Action', 'Action.Link'].includes(fieldSchema['x-component']) ? 'button' : 'field'; + const type = props?.type || fieldSchema?.['x-action'] ? 'button' : 'field'; const gridSchema = findGridSchema(fieldSchema) || fieldSchema; const schema = useMemo( () => ({