Fix search results

This commit is contained in:
Bill 2021-09-08 17:13:37 -04:00
parent 4acaf0ddf7
commit bdc3211fce

View File

@ -48,7 +48,7 @@ export const CatalogSearchResultOfferView: FC<CatalogSearchResultOfferViewProps>
iconName = ['th', 'wall', offer.customParams ].join('_'); iconName = ['th', 'wall', offer.customParams ].join('_');
break; break;
case 'landscape': case 'landscape':
iconName = ['th', furniData.className, offer.customParams.replace('.', '_'), '001'].join('_'); iconName = ['th', furniData.className, ((offer.customParams && offer.customParams.replace('.', '_')) || null), '001'].join('_');
break; break;
} }