Incorrect variable scoping for Displays To Summarize Relational Items
extension guide
#22710
Labels
Displays To Summarize Relational Items
extension guide
#22710
Page
https://docs.directus.io/guides/extensions/displays-relational-summaries.html#complete-code
Describe the Inaccuracy
The
displayTemplateMeta
variable in the interface options function is incorrectly scoped resulting in it not being accessible in the returned array. Ideally this would be defined as a let outside the if/else block to mitigate this issue.The text was updated successfully, but these errors were encountered: