disable public account

This commit is contained in:
Sebastian 2023-02-18 10:48:49 -03:00
parent 0ba479c6e7
commit cee1b80012
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -28,6 +28,8 @@ import {
import { useBusinessAccountDetails } from "../hooks/circuit.js"; import { useBusinessAccountDetails } from "../hooks/circuit.js";
import { bankUiSettings } from "../settings.js"; import { bankUiSettings } from "../settings.js";
const IS_PUBLIC_ACCOUNT_ENABLED = false;
const logger = new Logger("BankFrame"); const logger = new Logger("BankFrame");
function MaybeBusinessButton({ function MaybeBusinessButton({
@ -89,12 +91,19 @@ export function BankFrame({
</h1> </h1>
{maybeDemoContent( {maybeDemoContent(
<p> <p>
{IS_PUBLIC_ACCOUNT_ENABLED ? (
<i18n.Translate> <i18n.Translate>
This part of the demo shows how a bank that supports Taler This part of the demo shows how a bank that supports Taler
directly would work. In addition to using your own bank account, directly would work. In addition to using your own bank
you can also see the transaction history of some{" "} account, you can also see the transaction history of some{" "}
<a href="/public-accounts">Public Accounts</a>. <a href="/public-accounts">Public Accounts</a>.
</i18n.Translate> </i18n.Translate>
) : (
<i18n.Translate>
This part of the demo shows how a bank that supports Taler
directly would work.
</i18n.Translate>
)}
</p>, </p>,
)} )}
</div> </div>