diff --git a/app/src/api/config/dataFields.ts b/app/src/api/config/dataFields.ts index 9c5de64a..a14a1b4f 100644 --- a/app/src/api/config/dataFields.ts +++ b/app/src/api/config/dataFields.ts @@ -270,6 +270,14 @@ export const buildingAttributesConfig = valueType()({ /* eslint edit: true, verify: true, }, + construction_core_material_source_type: { + edit: true, + verify: true, + }, + construction_core_material_source_links: { + edit: true, + verify: true, + }, construction_secondary_materials: { edit: false, }, diff --git a/app/src/frontend/building/data-containers/construction.tsx b/app/src/frontend/building/data-containers/construction.tsx index e3a1e4a0..1111b606 100644 --- a/app/src/frontend/building/data-containers/construction.tsx +++ b/app/src/frontend/building/data-containers/construction.tsx @@ -241,6 +241,35 @@ const ConstructionView: React.FunctionComponent = (props) => user_verified_as={props.user_verified.construction_core_material} verified_count={props.building.verified.construction_core_material} /> + + {(props.building.construction_core_material_source_type == commonSourceTypes[0] || + props.building.construction_core_material_source_type == commonSourceTypes[1] || + props.building.construction_core_material_source_type == null) ? <> : + <> + + + }