diff --git a/src/lib/providers/index.ts b/src/lib/providers/index.ts index 3d2f7a1..678431c 100644 --- a/src/lib/providers/index.ts +++ b/src/lib/providers/index.ts @@ -39,7 +39,8 @@ export function addChoices(country?: string | null, alsoNz = false) { // No Plaid keys at all: a made-up bank instead (api/demo-bank), so broke can be tried with only a database. demo: !configured("plaid"), // The country has Plaid banks but this copy has no Plaid keys yet: offer the bank card anyway, pointing at Setup. - plaidMissing: countryOf(code).providers.includes("plaid") && !configured("plaid"), + // Not when a bank feed is already set up (Enable Banking in Europe): that card would only lead away from it. + plaidMissing: countryOf(code).providers.includes("plaid") && !configured("plaid") && !options.some((p) => isFeed(p)), // NZ without Akahu keys: say where to add them. akahuMissing: (countryOf(code).providers.includes("akahu") || alsoNz) && !configured("akahu"), // Lives elsewhere but also banks in NZ (Settings, money profile): the NZ option beside their own.