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 ( return (
<fieldset tabIndex="0"> <fieldset tabIndex="0">
<legend className="screen-reader-text"> <legend className="screen-reader-text">
{ this.getLegend( filter, config ) } { labels.add || '' }
</legend> </legend>
<div <div
className={ classnames( 'woocommerce-filters-advanced__fieldset', { className={ classnames( 'woocommerce-filters-advanced__fieldset', {