From 9d4a76c841add108d2cfd3693808e215557a0110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Juh=C3=A9=20Lluveras?= Date: Mon, 22 Jul 2019 13:41:02 +0200 Subject: [PATCH] Use radio buttons instead of checkboxes in Featured Category control (https://github.com/woocommerce/woocommerce-blocks/pull/756) --- .../assets/js/blocks/featured-category/block.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce-blocks/assets/js/blocks/featured-category/block.js b/plugins/woocommerce-blocks/assets/js/blocks/featured-category/block.js index 690c2d7c9f3..1048c2c5adb 100644 --- a/plugins/woocommerce-blocks/assets/js/blocks/featured-category/block.js +++ b/plugins/woocommerce-blocks/assets/js/blocks/featured-category/block.js @@ -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 />