Fix search results

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

View File

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