[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: disable public account
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: disable public account |
Date: |
Sat, 18 Feb 2023 14:48:59 +0100 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new cee1b8001 disable public account
cee1b8001 is described below
commit cee1b8001284adbe5e2cf506435b37db26ec7987
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Sat Feb 18 10:48:49 2023 -0300
disable public account
---
packages/demobank-ui/src/pages/BankFrame.tsx | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/packages/demobank-ui/src/pages/BankFrame.tsx
b/packages/demobank-ui/src/pages/BankFrame.tsx
index fe7571c38..cf52cb0f3 100644
--- a/packages/demobank-ui/src/pages/BankFrame.tsx
+++ b/packages/demobank-ui/src/pages/BankFrame.tsx
@@ -28,6 +28,8 @@ import {
import { useBusinessAccountDetails } from "../hooks/circuit.js";
import { bankUiSettings } from "../settings.js";
+const IS_PUBLIC_ACCOUNT_ENABLED = false;
+
const logger = new Logger("BankFrame");
function MaybeBusinessButton({
@@ -89,12 +91,19 @@ export function BankFrame({
</h1>
{maybeDemoContent(
<p>
- <i18n.Translate>
- This part of the demo shows how a bank that supports Taler
- directly would work. In addition to using your own bank
account,
- you can also see the transaction history of some{" "}
- <a href="/public-accounts">Public Accounts</a>.
- </i18n.Translate>
+ {IS_PUBLIC_ACCOUNT_ENABLED ? (
+ <i18n.Translate>
+ This part of the demo shows how a bank that supports Taler
+ directly would work. In addition to using your own bank
+ account, you can also see the transaction history of some{"
"}
+ <a href="/public-accounts">Public Accounts</a>.
+ </i18n.Translate>
+ ) : (
+ <i18n.Translate>
+ This part of the demo shows how a bank that supports Taler
+ directly would work.
+ </i18n.Translate>
+ )}
</p>,
)}
</div>
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: disable public account,
gnunet <=