Skip to content

Commit 2bc400a

Browse files
authored
Merge pull request Expensify#77121 from cretadn22/add-second-param-hasPendingCardAction
Fix green dot showing on avatar without pending actions
2 parents 30d6d8a + 501e0d8 commit 2bc400a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hooks/useAccountTabIndicatorStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function useAccountTabIndicatorStatus(): AccountTabIndicatorStatusResult {
5757

5858
const infoChecking: Partial<Record<AccountTabIndicatorStatus, boolean>> = {
5959
[CONST.INDICATOR_STATUS.HAS_LOGIN_LIST_INFO]: !!loginList && hasLoginListInfo(loginList, session?.email),
60-
[CONST.INDICATOR_STATUS.HAS_PENDING_CARD_INFO]: hasPendingExpensifyCardAction(allCards),
60+
[CONST.INDICATOR_STATUS.HAS_PENDING_CARD_INFO]: hasPendingExpensifyCardAction(allCards, privatePersonalDetails),
6161
[CONST.INDICATOR_STATUS.HAS_SUBSCRIPTION_INFO]: hasSubscriptionGreenDotInfo(
6262
stripeCustomerId,
6363
retryBillingSuccessful,

0 commit comments

Comments
 (0)