Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit eae2202

Browse files
Aljullusenadir
authored andcommitted
Use attribute label instead of slug in Filter by Attribute title (#1271)
1 parent 15b6872 commit eae2202

File tree

1 file changed

+1
-1
lines changed
  • assets/js/blocks/attribute-filter

1 file changed

+1
-1
lines changed

assets/js/blocks/attribute-filter/edit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ const Edit = ( { attributes, setAttributes, debouncedSpeak } ) => {
228228
return;
229229
}
230230

231-
const attributeName = productAttribute.attribute_name;
231+
const attributeName = productAttribute.attribute_label;
232232

233233
setAttributes( {
234234
attributeId: selectedId,

0 commit comments

Comments
 (0)