Add accounts: link a bank without Plaid keys points to Setup; delete test data right there
- With no Plaid keys, the page said bank linking "isn't available in United States yet". It is: the keys are missing. It now shows Link a bank or card, which opens Setup to add the free Plaid keys. - Test banks: the Delete test data link went to Settings. It's now a button on this page, with a confirm, that removes the test bank and its transactions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3e51cc4fcc
commit
fb8e5425c3
5 files changed
+10
-5
No files matched your search
@@ -38,6 +38,8 @@ export function addChoices(country?: string | null, alsoNz = false) {
|
||||
sandbox: plaid && process.env.PLAID_ENV === "sandbox",
|
||||
// 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"),
|
||||
// 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.
|
||||
|
||||
Reference in new issue
Block a user