diff options
author | Sebastian <sebasjm@gmail.com> | 2024-05-15 10:15:59 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-05-15 10:16:54 -0300 |
commit | dc865e0e3194a24b1ef55136bcb4f2e249b5f869 (patch) | |
tree | c17faba023fc1c5f919afd776fde8c365f983c63 /packages/merchant-backoffice-ui/src | |
parent | 25b53ddf5ae0d12a40eb2c0b8bdf913eb78e8126 (diff) | |
download | wallet-core-dc865e0e3194a24b1ef55136bcb4f2e249b5f869.tar.xz |
fix #7956
Diffstat (limited to 'packages/merchant-backoffice-ui/src')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx | 1 | ||||
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx | 1 |
2 files changed, 2 insertions, 0 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, |