From 538b9ecf86150bb2e818db92aca6b9ab12fa0d30 Mon Sep 17 00:00:00 2001 From: Scott Deeter Date: Fri, 15 Nov 2024 14:52:27 -0800 Subject: [PATCH] Don't complete onboarding if not an invited user --- src/libs/actions/IOU.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/IOU.ts b/src/libs/actions/IOU.ts index e0c2fb339f52..58888eb291d8 100644 --- a/src/libs/actions/IOU.ts +++ b/src/libs/actions/IOU.ts @@ -7349,7 +7349,7 @@ function cancelPayment(expenseReport: OnyxEntry, chatReport: O function completePaymentOnboarding(paymentSelected: ValueOf) { const isInviteOnboardingComplete = introSelected?.isInviteOnboardingComplete ?? false; - if (isInviteOnboardingComplete || !introSelected?.choice) { + if (isInviteOnboardingComplete || !introSelected?.choice || !introSelected?.inviteType) { return; }