-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assets and areas are not always populated on login #125
Comments
More exactly: |
I fixed this by loading assets and areas when a /logs/edit route is called, rather than when /logs is called. On /logs, we now only load logs and user data + site info. |
Excellent! Glad you were able to figure that out! 👏 👏 👏 |
(Transferring all issues from old repository. See #92) |
Closing this per Alex's comment above |
This bug only occurs after clearing caches on the browser or doing a fresh install in Android. I log in for the first time, then click "create log" in the AllLogs view to navigate to the EditLog view. Even though I'm logged in, the areas and assets haven't been populated.
Curiously, if I do the same thing (log in after a fresh install / cleared caches) and then use the app shell menu to navigate to the EditLog view, then the problem does NOT occur, and areas and assets are populated!
In an email exchange, @jgaehring suggested we should request assets and areas whenever /logs/edit is loaded.
The text was updated successfully, but these errors were encountered: