You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
If a presentation 3.0 Collection is loaded with vault, and that collection has an items array containing an item of type Collection, the error TypeError: can't access property "map", collection.items is undefined is shown as it assumes the nested collection in the items array to have its own items property. This doesn't seem to be an issue with presentation 2.0 collections as those are normalized and have an empty array.
If a presentation 3.0 Collection is loaded with vault, and that collection has an items array containing an item of type Collection, the error
TypeError: can't access property "map", collection.items is undefined
is shown as it assumes the nested collection in the items array to have its own items property. This doesn't seem to be an issue with presentation 2.0 collections as those are normalized and have an empty array.Would adding if checking for the
collection.items
prop catch this?hyperion/packages/parser/src/traverse.ts
Lines 160 to 169 in 557d7b4
Thanks!!
The text was updated successfully, but these errors were encountered: