Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix visibility of price filters default value
Krzysztof Białogłowicz7155c4dff002
diff --git a/saleor/static/js/components/categoryPage/PriceFilter.js b/saleor/static/js/components/categoryPage/PriceFilter.jsindex 808e07668e..2376a3dcd8 100644--- a/saleor/static/js/components/categoryPage/PriceFilter.js+++ b/saleor/static/js/components/categoryPage/PriceFilter.js@@ -28,9 +28,9 @@ export default class PriceFilter extends Component {}changeVisibility = () => {- this.setState({- visibility: !this.state.visibility- });+ this.setState({+ visibility: !this.state.visibility+ })}render() {@@ -42,7 +42,7 @@ export default class PriceFilter extends Component {Price range<i className={visibility ? ('fa fa-chevron-up pull-right') : ('fa fa-chevron-down pull-right')} aria-hidden="true"></i></h3>- {visibility ? (+ {visibility || minPrice || maxPrice ? (<div><inputclassName="form-control"