arj03 / ssb-browser-demo

A secure scuttlebutt client interface running in the browser
Other
58 stars 11 forks source link

Retry loading profile after refresh #250

Closed KyleMaas closed 3 years ago

KyleMaas commented 3 years ago

If you refresh the page while looking at a profile, previously it would attempt to load the profile immediately before the index loaded, resulting in an empty result. This changes that so that if the index isn't loaded, it waits several seconds to let the index load and then tries again. If that doesn't work, it waits for a connection with data to load the profile.

Fixes #51.

arj03 commented 3 years ago

thanks