diff --git a/src/components/BuildingListTable/index.js b/src/components/BuildingListTable/index.js
index 275586a57bb33be90305b7f800dd98be87ff72a1..1693664dde4ebbc9e56da8754746dd3840f82f87 100644
--- a/src/components/BuildingListTable/index.js
+++ b/src/components/BuildingListTable/index.js
@@ -13,19 +13,20 @@ export default function BuildingListTable({ buildings }) {
const buildingItems = buildings.map(building =>
(
-
+
{/*
TODO make entire row a link & make path relative
React router Link component does not support relative paths
*/}
|
-
+
{building.address}
|
{building.bbl} |
- {building.blocpower_id} |
{building.borough} |
+ {building.building_id} |
+ {building.lot_id} |
{building.zipcode} |
),
@@ -49,7 +50,8 @@ BuildingListTable.propTypes = {
buildings: PropTypes.arrayOf(PropTypes.shape({
address: PropTypes.state,
bbl: PropTypes.number,
- blocpower_id: PropTypes.number,
+ building_id: PropTypes.number,
+ lot_id: PropTypes.number,
borough: PropTypes.string,
zipcode: PropTypes.number,
})),
diff --git a/src/components/BuildingOverview/index.js b/src/components/BuildingOverview/index.js
index ee12d28f37ab02c5914cd55652649f6797fadcb4..319aed1e766edd072049ef05a9d8ace6bc936151 100644
--- a/src/components/BuildingOverview/index.js
+++ b/src/components/BuildingOverview/index.js
@@ -10,7 +10,8 @@ export default function BuildingOverview({ building }) {
- {building.zipcode}
- {building.bbl}
- - {building.blocpower_id}
+ - {building.building_id}
+ - {building.lot_id}
- {building.borough}
@@ -21,7 +22,8 @@ BuildingOverview.propTypes = {
building: PropTypes.shape({
address: PropTypes.string,
bbl: PropTypes.number,
- blocpower_id: PropTypes.number,
+ building_id: PropTypes.number,
+ lot_id: PropTypes.number,
borough: PropTypes.string,
zipcode: PropTypes.number,
}),
diff --git a/src/components/TurkHit/index.js b/src/components/TurkHit/index.js
index e549d09d36d2b580afac77ce83548a1344c9b273..a3d13882b662d6a528c50a46cfbbc99918d10721 100644
--- a/src/components/TurkHit/index.js
+++ b/src/components/TurkHit/index.js
@@ -2,7 +2,7 @@ import React, { PropTypes } from 'react';
import defaultForm from './defaultForm';
import './styles.scss';
-export default function TurkHit({ createHit, address, blocpower_id, hit }) {
+export default function TurkHit({ createHit, address, building_id, hit }) {
let hitStatus = ;
if (!hit.error.message && hit.status !== '') {
hitStatus = (
@@ -22,7 +22,7 @@ export default function TurkHit({ createHit, address, blocpower_id, hit }) {
return (