nemoarchive / analytics

Repository for the NeMO Analytics project.
MIT License
1 stars 0 forks source link

After logging in, user must refresh page before users profiles appear in the profile pull down #125

Open carlocolantuoni opened 4 years ago

adkinsrs commented 4 years ago

I think this may be due to the brief delay after logging in where the current user is cached. @jorvis has it currently set to sleep for 500 ms before attempting to retrieve the current user, but perhaps that may not be enough time. Typically if user cannot be retrieved in that brief time frame, the page proceeds as if their is no logged in user.

jorvis commented 4 years ago

That part definitely needs to be redone with proper async/await or some other call back mechanism and not rely on a timer.