Use radio buttons instead of checkboxes in Featured Category control (https://github.com/woocommerce/woocommerce-blocks/pull/756)

This commit is contained in:
Albert Juhé Lluveras 2019-07-22 13:41:02 +02:00
parent 0c0fc8be3b
commit 9d4a76c841
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ class FeaturedCategory extends Component {
const id = value[ 0 ] ? value[ 0 ].id : 0;
setAttributes( { categoryId: id, mediaId: 0, mediaSrc: '' } );
} }
multiple={ false }
isSingle
/>
<Button isDefault onClick={ onDone }>
{ __( 'Done', 'woo-gutenberg-products-block' ) }