Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacques Larique committed Jan 8, 2025
1 parent c446a13 commit f1824bb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export default function AgreementsUpdateModal () {
if (!isCurrentModalActive) return;

if (isFeatureAvailable) {
console.log(`hasFullyLoaded: !isAuthorizationLoading = ${!isAuthorizationLoading} && (!canUserAcceptAgreements = ${!canUserAcceptAgreements} || !areAgreementsLoading = ${!areAgreementsLoading})`);
const hasFullyLoaded = !isAuthorizationLoading && (!canUserAcceptAgreements || !areAgreementsLoading);
console.log(`Ignoring agreements modal management: isOnAgreementsPage = ${isOnAgreementsPage} && !hasFullyLoaded = ${!hasFullyLoaded}`);
if (isOnAgreementsPage || !hasFullyLoaded) return;
Expand Down

0 comments on commit f1824bb

Please sign in to comment.