NumberFilter: remove dynamic legend text, just use “add” label.

This commit is contained in:
Jeff Stieler 2018-12-17 18:58:11 -07:00
parent 3528957923
commit cbc5bc36fd
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ class NumberFilter extends Component {
return (
<fieldset tabIndex="0">
<legend className="screen-reader-text">
{ this.getLegend( filter, config ) }
{ labels.add || '' }
</legend>
<div
className={ classnames( 'woocommerce-filters-advanced__fieldset', {