Use attribute label instead of slug in Filter by Attribute title (https://github.com/woocommerce/woocommerce-blocks/pull/1271)

This commit is contained in:
Albert Juhé Lluveras 2019-11-27 14:29:29 +01:00 committed by Seghir Nadir
parent 087e5531aa
commit ed4e4ad7b9
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ const Edit = ( { attributes, setAttributes, debouncedSpeak } ) => {
return;
}
const attributeName = productAttribute.attribute_name;
const attributeName = productAttribute.attribute_label;
setAttributes( {
attributeId: selectedId,