Agreed, there must be a better way for more complex data structures.
badges.filter(item => item.attributes.badge_category.data.attributes.identifier == g.attributes.identifier).map()
Agreed, there must be a better way for more complex data structures.
badges.filter(item => item.attributes.badge_category.data.attributes.identifier == g.attributes.identifier).map()