Skip to content

Commit

Permalink
Merge branch 'release/6.9.2' into fix/7905-transactions-list-tooltip-…
Browse files Browse the repository at this point in the history
…styles
  • Loading branch information
shendy-a8c authored Dec 14, 2023
2 parents 15e6117 + 62c5bf9 commit c5de0c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Significance: patch
Type: fix
Comment: No changelog for this change, part of previous changelog entry adding the next deposit notice
4 changes: 4 additions & 0 deletions client/deposits/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,12 @@ const NextDepositNotice: React.FC = () => {
wcpaySettings.accountStatus.deposits?.restrictions ===
'deposits_unrestricted';

const hasCompletedWaitingPeriod =
wcpaySettings.accountStatus.deposits?.completed_waiting_period;

if (
! isDepositsUnrestricted ||
! hasCompletedWaitingPeriod ||
! account ||
isNextDepositNoticeDismissed
) {
Expand Down

0 comments on commit c5de0c9

Please sign in to comment.