mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-30 08:50:51 +01:00
Fix search results
This commit is contained in:
parent
4acaf0ddf7
commit
bdc3211fce
@ -42,13 +42,13 @@ export const CatalogSearchResultOfferView: FC<CatalogSearchResultOfferViewProps>
|
|||||||
switch(furniData.className)
|
switch(furniData.className)
|
||||||
{
|
{
|
||||||
case 'floor':
|
case 'floor':
|
||||||
iconName = ['th', furniData.className, offer.customParams].join('_');
|
iconName = ['th', furniData.className, offer.customParams ].join('_');
|
||||||
break;
|
break;
|
||||||
case 'wallpaper':
|
case 'wallpaper':
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user