Skip to content

Commit

Permalink
fix: fix CTA visibility for Add Corporate Card CTA (#3243)
Browse files Browse the repository at this point in the history
  • Loading branch information
bistaastha authored Oct 24, 2024
1 parent 3b8c5ce commit 3c6949c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ export class ManageCorporateCardsPage {
);

this.virtualCardDetails$ = this.getVirtualCardDetails();
this.isAddCorporateCardVisible$ = this.checkAddCorporateCardVisibility();
this.isVisaRTFEnabled$ = orgSettings$.pipe(
map((orgSettings) => orgSettings.visa_enrollment_settings.allowed && orgSettings.visa_enrollment_settings.enabled)
);
Expand All @@ -169,6 +168,7 @@ export class ManageCorporateCardsPage {
orgUserSettings.bank_data_aggregation_settings.enabled
)
);
this.isAddCorporateCardVisible$ = this.checkAddCorporateCardVisibility();
}

ionViewWillLeave(): void {
Expand Down

0 comments on commit 3c6949c

Please sign in to comment.