Crop page: Multiple trees
Multiple diversity trees (..._tree.json
) can be added to the same crop (e.g. Forages). We wish to display all available trees on the crop details page:
The API will return multiple files
. Filter out the files where originalFilename
ends with _tree.json
and display the Tree viewer for each one.
Update translations to use { file.title || crop.name }
and { file.subject || crop.name }
as shown above.