KiCad_BOM_Wizard icon indicating copy to clipboard operation
KiCad_BOM_Wizard copied to clipboard

Undefined forEach for fields section if it doesn't have any values

Open tathagata96 opened this issue 9 years ago • 1 comments

bom-wizard

Sometimes we need to generate BOM before all components' fields are populated. For example: In the above image if certain component doesn't not have fields populated it generates <fields/> and in our we are trying to loop this which gives an undefined forEach error.

This pull request fixes the above issue.

tathagata96 avatar Jul 30 '16 11:07 tathagata96

Interesting issue. Thank you for your commit.

Before I commit your changes could you run the linter on the code to make sure that the code maintains the standard style.

You can run it by npm run lint

  • Ron

HashDefineElectronics avatar Sep 28 '16 06:09 HashDefineElectronics