Monorepo for Tangled โ€” https://tangled.org

appview/state: fix timeline out of bounds #555

merged
opened by isuggest.selfce.st targeting master from isuggest.selfce.st/core: patch/timeline-fix

When running a local dev copy of the appview, the timeline isn't properly populated if only running the appview. This causes db.MakeTimeline to give an empty array. Thus, slicing it down to 5 elements results in an out of bounds error.

This PR removes the slice and simply limits the timeline view to 5 elements down from 15.

0
by isuggest.selfce.st 1 comment
expand 1 commit
appview/state: fix timeline out of bounds

wonderful thank you!

pull request successfully merged
sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:fnvdhaoe7b5abgrtvzf4ttl5/sh.tangled.repo.pull/3lxzsm3qihm22