summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorms <ms@taler.net>2022-05-09 12:08:55 +0200
committerms <ms@taler.net>2022-05-09 12:08:55 +0200
commit0e33e362e731e0d7a589994fca7ca6aecab35f08 (patch)
tree5a68ae296bf505a1217b305301ac2191a1da5e9d
parentc9096b8c90638add8e4214be8dd7f703b4351273 (diff)
downloadmerchant-backoffice-disallow-registrations.tar.gz
merchant-backoffice-disallow-registrations.tar.bz2
merchant-backoffice-disallow-registrations.zip
debug placeholderdisallow-registrations
-rw-r--r--packages/bank/src/pages/home/index.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/bank/src/pages/home/index.tsx b/packages/bank/src/pages/home/index.tsx
index b130dd1..b701844 100644
--- a/packages/bank/src/pages/home/index.tsx
+++ b/packages/bank/src/pages/home/index.tsx
@@ -1631,6 +1631,8 @@ export function BankHome(): VNode {
}
if (pageState.tryRegister) {
// @ts-ignore
+ console.log("allow registrations?", __LIBEUFIN_UI_ALLOW_REGISTRATIONS__)
+ // @ts-ignore
if (__LIBEUFIN_UI_ALLOW_REGISTRATIONS__) {
return (
<PageContext.Provider value={[pageState, pageStateSetter]}>
@@ -1643,7 +1645,7 @@ export function BankHome(): VNode {
return (
<PageContext.Provider value={[pageState, pageStateSetter]}>
<BankFrame>
- <p>i18n`Currently, the bank is not accepting new registrations!`</p>
+ <p>{i18n`Currently, the bank is not accepting new registrations!`}</p>
</BankFrame>
</PageContext.Provider>
);