feat(Content): pass categoryName prop to ProductFilters for improved filtering
- Added categoryName prop to the ProductFilters component to have it translated
This commit is contained in:
@@ -681,6 +681,7 @@ class Content extends Component {
|
|||||||
onFilterChange={()=>{this.filterProducts()}}
|
onFilterChange={()=>{this.filterProducts()}}
|
||||||
dataType={this.state.dataType}
|
dataType={this.state.dataType}
|
||||||
dataParam={this.state.dataParam}
|
dataParam={this.state.dataParam}
|
||||||
|
categoryName={this.state.categoryName}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ class ProductFilters extends Component {
|
|||||||
color: 'primary.main'
|
color: 'primary.main'
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{this.props.dataParam}
|
{this.props.categoryName}
|
||||||
</Typography>
|
</Typography>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user