more api docs and tweaks for auth and updates API

This commit is contained in:
Laura Klünder 2023-12-04 13:46:32 +01:00
parent 64088759f5
commit 87ef037421
4 changed files with 89 additions and 26 deletions

View file

@ -1689,7 +1689,7 @@ c3nav = {
c3nav.last_site_update = data.last_site_update;
c3nav._maybe_load_site_update(c3nav.state);
}
c3nav._set_user_data(data.user);
c3nav._set_user_data(data.user_data);
},
_maybe_load_site_update: function(state) {
if (c3nav.new_site_update && !state.modal && (!state.routing || !state.origin || !state.destination)) {