Whitelist planning fields/drop location text
This commit is contained in:
parent
0c8dc94cb1
commit
751b0d0480
@ -205,11 +205,11 @@ function likeBuilding(building_id, user_id) {
|
||||
|
||||
const BUILDING_FIELD_WHITELIST = new Set([
|
||||
'ref_osm_id',
|
||||
'location_name',
|
||||
// 'location_name',
|
||||
'location_number',
|
||||
'location_street',
|
||||
'location_line_two',
|
||||
'location_town',
|
||||
// 'location_street',
|
||||
// 'location_line_two',
|
||||
// 'location_town',
|
||||
'location_postcode',
|
||||
'location_latitude',
|
||||
'location_longitude',
|
||||
@ -218,6 +218,7 @@ const BUILDING_FIELD_WHITELIST = new Set([
|
||||
'date_upper',
|
||||
'date_source',
|
||||
'date_source_detail',
|
||||
'date_link',
|
||||
'facade_year',
|
||||
'facade_upper',
|
||||
'facade_lower',
|
||||
@ -230,6 +231,24 @@ const BUILDING_FIELD_WHITELIST = new Set([
|
||||
'size_floor_area_ground',
|
||||
'size_floor_area_total',
|
||||
'size_width_frontage',
|
||||
'planning_portal_link',
|
||||
'planning_in_conservation_area',
|
||||
'planning_conservation_area_name',
|
||||
'planning_in_list',
|
||||
'planning_list_id',
|
||||
'planning_list_cat',
|
||||
'planning_list_grade',
|
||||
'planning_heritage_at_risk_id',
|
||||
'planning_world_list_id',
|
||||
'planning_in_glher',
|
||||
'planning_glher_url',
|
||||
'planning_in_apa',
|
||||
'planning_apa_name',
|
||||
'planning_apa_tier',
|
||||
'planning_in_local_list',
|
||||
'planning_local_list_url',
|
||||
'planning_in_historic_area_assessment',
|
||||
'planning_historic_area_assessment_url',
|
||||
]);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user