cbroms / pith

The client and server for the Pith discussion project.
https://pith.is
Apache License 2.0
4 stars 1 forks source link

Leaving a discussion and returning to the board gives error #41

Closed cbroms closed 3 years ago

cbroms commented 3 years ago

{each} iterates only over array like objects

slz4025 commented 3 years ago

Was occurring because when leave discussion, board is reloaded. However, doing so returns basic version of units. Thus, if was rendering one of the unit's discussions, no longer have access to it.

slz4025 commented 3 years ago

Perhaps a better design would only be to call join/load at start, and when return, call something else.