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:
sebseb7
2025-11-22 08:49:58 +01:00
parent 1b51da69a9
commit d63c385a97
2 changed files with 2 additions and 1 deletions

View File

@@ -681,6 +681,7 @@ class Content extends Component {
onFilterChange={()=>{this.filterProducts()}}
dataType={this.state.dataType}
dataParam={this.state.dataParam}
categoryName={this.state.categoryName}
/>
</Box>

View File

@@ -209,7 +209,7 @@ class ProductFilters extends Component {
color: 'primary.main'
}}
>
{this.props.dataParam}
{this.props.categoryName}
</Typography>
)}