Skip to content

Commit

Permalink
feat(container): adjusted agreements modal lifecycle management
Browse files Browse the repository at this point in the history
ref: MANAGER-14722

Signed-off-by: Jacques Larique <[email protected]>
  • Loading branch information
Jacques Larique committed Jan 9, 2025
1 parent 8f12791 commit 49000d3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ export default function AgreementsUpdateModal () {

if (isFeatureAvailable) {
const hasFullyLoaded =
urn &&
!isAuthorizationLoading &&
(!canUserAcceptAgreements ||
(!areAgreementsLoading && Boolean(agreements)));
(!canUserAcceptAgreements || !areAgreementsLoading);
if (isOnAgreementsPage || !hasFullyLoaded) return;

if (!agreements?.length) {
Expand Down

0 comments on commit 49000d3

Please sign in to comment.