dist/js/auth.js
// render navigation buttons depending on user login state
render navigation buttons depending on user login state
render navigation buttons depending on user login state
function renderButtonState() {
  console.log('renderButtonState called');
  if (Cookies.get('accessToken', { domain: cookieDomain })) {
    $('#preferencesButton').removeClass('d-none');
    $('#logoutButton').removeClass('d-none');
  } else {
    $('#signOnButton').removeClass('d-none');
  }
}
function renderButtonState ( ) { console . log ( 'renderButtonState called' ) ; if ( Cookies . get ( 'accessToken' , { domain : cookieDomain } ) ) { $ ( '#preferencesButton' ) . removeClass ( 'd-none' ) ; $ ( '#logoutButton' ) . removeClass ( 'd-none' ) ; } else { $ ( '#signOnButton' ) . removeClass ( 'd-none' ) ; } }
render navigation buttons depending on user login state
render navigation buttons depending on user login state