Small clean up

This commit is contained in:
Andras Schmelczer 2026-02-19 22:55:38 +00:00
parent b9f9c3ae50
commit 94ebd0f614
10 changed files with 22 additions and 21 deletions

View file

@ -149,7 +149,7 @@ export const STACKED_ENUM_GROUPS: Record<
label: 'Property type',
feature: 'Property type',
components: ['Property type'],
valueOrder: ['Detached', 'Semi-Detached', 'Terraced', 'Flat'],
valueOrder: ['Detached', 'Semi-Detached', 'Terraced', 'Flats/Maisonettes'],
valueColors: ['#8b5cf6', '#3b82f6', '#14b8a6', '#f59e0b'],
},
{

View file

@ -21,8 +21,7 @@ const PROPERTY_TYPE_MAP: Record<
'End-Terrace': { rightmove: 'terraced', onthemarket: 'terraced', zoopla: 'terraced' },
'Enclosed Mid-Terrace': { rightmove: 'terraced', onthemarket: 'terraced', zoopla: 'terraced' },
'Enclosed End-Terrace': { rightmove: 'terraced', onthemarket: 'terraced', zoopla: 'terraced' },
Flat: { rightmove: 'flat', onthemarket: 'flats', zoopla: 'flat' },
Maisonette: { rightmove: 'flat', onthemarket: 'flats', zoopla: 'flat' },
'Flats/Maisonettes': { rightmove: 'flat', onthemarket: 'flats', zoopla: 'flat' },
Bungalow: { rightmove: 'bungalow', onthemarket: 'bungalow', zoopla: 'bungalow' },
'Park home': { rightmove: 'park-home', onthemarket: 'property', zoopla: '' },
};