You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jamie said this might be little tricky because it would be interact with cache. The top nav bar is under base_distributed.html . If I modify that, it would check every time the page loads, which is not very efficient. Do you have any suggestions?
I don't see any problem; the navbar is controlled through AJAX requests already, to have good performance. No interaction with caching.
My suggestion is in the body of the pull request; in the code to get navbar information through the API, have a flag for facility_exists, that checks if Facility.objects.count() > 0. From the client-side, use that flag appropriately.
Nothing conceptually different than what's already done in the navbar.
Suggestion:
The text was updated successfully, but these errors were encountered: