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.
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 anundefined forEach
error.This pull request fixes the above issue.