@eturnity/eturnity_maths 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_maths",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "author": "Eturnity Team",
5
5
  "main": "src/index.js",
6
6
  "private": false,
@@ -227,9 +227,9 @@ export class Polygon {
227
227
  justify_percent: this.data.justify_percent,
228
228
 
229
229
  number_of_panels_override:this.data.number_of_panels_override,
230
- number_of_panel:this.data.number_of_panels,
231
- yearly_yield_manual_entr:this.data.yearly_yield_manual_entry,
232
- yearly_yield_kwh_kw:this.data.yearly_yield_kwh_kwp,
230
+ number_of_panels:!!this.data.number_of_panels,
231
+ yearly_yield_manual_entry:this.data.yearly_yield_manual_entry,
232
+ yearly_yield_kwh_kwp:this.data.yearly_yield_kwh_kwp,
233
233
  yearly_yield_kwh_kwp_2:this.data.yearly_yield_kwh_kwp_2
234
234
  }
235
235
  } else if (['panel', 'user_deactivated_panel'].includes(this.layer)) {