dvargas92495/roamjs-com

sort-references is broken when Linked References first appear (when too many) they are collapsed. 😥

JimmyLv opened this issue · 2 comments

Even though the Linked References are manually expanded later, the sort-references feature is no longer working, maybe it's a data loading order problem?

sort-references.js:formatted:5632 Uncaught TypeError: Cannot read properties of undefined (reading '0')
    at n (sort-references.js:formatted:5632:123)
    at sort-references.js:formatted:5633:261
    at Array.map (<anonymous>)
    at t.getLinkedPageReferences (sort-references.js:formatted:5633:254)
    at n (sort-references.js:formatted:34042:58)
    at sort-references.js:formatted:34127:28
    at HTMLAnchorElement.r.onclick (sort-references.js:formatted:2227:21)

just pushed a change that should address the typeerror - are you still seeing issues?

it works! thanks a lot! ✌️