refactor: collection fields action optimization (#5258)

This commit is contained in:
Katherine 2024-09-12 08:59:16 +08:00 committed by GitHub
parent f24972c01d
commit cd59edb2c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -179,7 +179,7 @@ const CurrentFields = (props) => {
return (
<RecordProvider record={record} parent={parentRecordData}>
<Space>
<Space size="middle">
<EditCollectionField role="button" aria-label={`edit-button-${record.name}`} type="primary" />
<Action.Link {...deleteProps} />
</Space>