caktus / caktus/offlinedatacollector
Use Local Models on Load
Open
bug
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
There seems to be a problem with loading models in offline mode. The current workflow is fine:
- Get the page
- Login -> collection form
- Lose connectivity
- Submit form
- Regain connectivity
- Syncs! \o/
However if you
- Get the page
- Login -> see results (because of previous submission)
- Lose connectivity
- Refresh page
- Form displays :(
It would appear the the `fetch` on the page load doesn't read from the local storage or it does but doesn't find the record for today so it shows the form.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.