KiCad_BOM_Wizard
KiCad_BOM_Wizard copied to clipboard
Undefined forEach for fields section if it doesn't have any values
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.
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