From 04f49b77942a9158013dc2be45437f9a076e5009 Mon Sep 17 00:00:00 2001 From: Aastha Bist Date: Fri, 27 Dec 2024 08:56:22 +0530 Subject: [PATCH] Update spender-onboarding-connect-card-step.component.ts --- .../spender-onboarding-connect-card-step.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/fyle/spender-onboarding/spender-onboarding-connect-card-step/spender-onboarding-connect-card-step.component.ts b/src/app/fyle/spender-onboarding/spender-onboarding-connect-card-step/spender-onboarding-connect-card-step.component.ts index 60b64498a9..6d898d520b 100644 --- a/src/app/fyle/spender-onboarding/spender-onboarding-connect-card-step/spender-onboarding-connect-card-step.component.ts +++ b/src/app/fyle/spender-onboarding/spender-onboarding-connect-card-step/spender-onboarding-connect-card-step.component.ts @@ -89,7 +89,7 @@ export class SpenderOnboardingConnectCardStepComponent implements OnInit, OnChan generateMessage(): string { if (this.cardsList.successfulCards.length > 0) { return 'We ran into an issue while processing your request. You can cancel and retry connecting the failed card or proceed to the next step.'; - } else if (this.cardsList.successfulCards.length > 0) { + } else if (this.cardsList.failedCards.length > 0) { return ` We ran into an issue while processing your request for the card ${this.cardsList.failedCards[0]}. You can cancel and retry connecting the failed card or proceed to the next step.`;