update design bundle

This commit is contained in:
Eric Hulburd
2016-03-11 19:01:59 -06:00
parent 782f5cbf91
commit cdd6f8dc0f
7 changed files with 36 additions and 6 deletions

View File

@@ -65,6 +65,7 @@ class EnergyDatum {
// get all data needed for all houses in one call.
return new Promise((fnResolve, fnReject)=>{
console.log(params)
EnergyDataApi.index({houses: params})
.then((energy_data)=>{
energy_data = energy_data.reduce((grouped, energy_datum)=>{