Skip to content

Commit

Permalink
to no identity available
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysmithTTD committed Dec 6, 2024
1 parent 41209bf commit c86dfb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/cstg/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
$('#targeted_advertising_ready').text(sdk.getAdvertisingToken() ? 'yes' : 'no');
$('#advertising_token').text(String(sdk.getAdvertisingToken()));
$('#login_required').text(
sdk.isLoginRequired() || sdk.isLoginRequired() === undefined ? 'yes' : 'no'
sdk.noIdentityAvailable() || sdk.noIdentityAvailable() === undefined ? 'yes' : 'no'
);
$(`#has_opted_out`).text(sdk.hasOptedOut() ? 'yes' : 'no');
$('#update_counter').text(callbackCounter);
Expand All @@ -37,7 +37,7 @@
}

function updateSharedGuiElements() {
if (getUidSdk().isLoginRequired()) {
if (getUidSdk().noIdentityAvailable()) {
$('#login_form').show();
$('#logout_form').hide();
} else {
Expand Down

0 comments on commit c86dfb9

Please sign in to comment.