mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-27 19:42:11 +10:00
Check that categories are enabled
This commit is contained in:
parent
9131afd34f
commit
3eb7b7c06d
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ export class ListingPageComponent extends Component {
|
|||
|
||||
const { customAttributes } = currentListing.attributes;
|
||||
const category =
|
||||
customAttributes && customAttributes.category ? (
|
||||
config.customAttributes.category && customAttributes && customAttributes.category ? (
|
||||
<span>
|
||||
{customAttributes.category}
|
||||
<span className={css.separator}>•</span>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue