aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-05-15 10:15:59 -0300
committerSebastian <sebasjm@gmail.com>2024-05-15 10:16:54 -0300
commitdc865e0e3194a24b1ef55136bcb4f2e249b5f869 (patch)
treec17faba023fc1c5f919afd776fde8c365f983c63
parent25b53ddf5ae0d12a40eb2c0b8bdf913eb78e8126 (diff)
downloadwallet-core-dc865e0e3194a24b1ef55136bcb4f2e249b5f869.tar.xz
fix #7956
-rw-r--r--packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx1
-rw-r--r--packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx1
-rw-r--r--packages/taler-wallet-webextension/src/components/WalletActivity.tsx7
3 files changed, 5 insertions, 4 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx
index 78d7c83ac..0e9b5a284 100644
--- a/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx
+++ b/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx
@@ -140,6 +140,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode {
? undefined
: config.currency,
},
+ required_currency: config.currency,
editable_defaults: {
amount: !state.amount_editable ? undefined : state.amount,
summary: !state.summary_editable ? undefined : state.summary,
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx
index eedb77f28..197049486 100644
--- a/packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx
+++ b/packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx
@@ -156,6 +156,7 @@ export function UpdatePage({ template, onUpdate, onBack }: Props): VNode {
? undefined
: config.currency,
},
+ required_currency: config.currency,
editable_defaults: {
amount: !state.amount_editable ? undefined : state.amount,
summary: !state.summary_editable ? undefined : state.summary,
diff --git a/packages/taler-wallet-webextension/src/components/WalletActivity.tsx b/packages/taler-wallet-webextension/src/components/WalletActivity.tsx
index 41b0c5c76..a77a69fa6 100644
--- a/packages/taler-wallet-webextension/src/components/WalletActivity.tsx
+++ b/packages/taler-wallet-webextension/src/components/WalletActivity.tsx
@@ -15,7 +15,6 @@
*/
import {
AbsoluteTime,
- ExchangeStateTransitionNotification,
NotificationType,
ObservabilityEventType,
RequestProgressNotification,
@@ -23,7 +22,7 @@ import {
TalerErrorDetail,
TaskProgressNotification,
WalletNotification,
- assertUnreachable,
+ assertUnreachable
} from "@gnu-taler/taler-util";
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
import { useTranslationContext } from "@gnu-taler/web-util/browser";
@@ -34,12 +33,12 @@ import { useBackendContext } from "../context/backend.js";
import { useAsyncAsHook } from "../hooks/useAsyncAsHook.js";
import { useSettings } from "../hooks/useSettings.js";
import { Button } from "../mui/Button.js";
+import { TextField } from "../mui/TextField.js";
import { SafeHandler } from "../mui/handlers.js";
import { WxApiType } from "../wxApi.js";
+import { WalletActivityTrack } from "../wxBackend.js";
import { Modal } from "./Modal.js";
import { Time } from "./Time.js";
-import { TextField } from "../mui/TextField.js";
-import { WalletActivityTrack } from "../wxBackend.js";
const OPEN_ACTIVITY_HEIGHT_PX = 250;
const CLOSE_ACTIVITY_HEIGHT_PX = 40;