diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/details/stories.tsx | 5 | ||||
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/templates/update/index.tsx | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/details/stories.tsx b/packages/merchant-backoffice-ui/src/paths/instance/details/stories.tsx index 367fabce2..d7f61a8a5 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/details/stories.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/details/stories.tsx @@ -41,6 +41,11 @@ function createExample<Props>( value={{ currency: "TESTKUDOS", version: "1", + currencies: { + currency: "TESTKUDOS" + }, + exchanges: [], + name: "taler-merchant" }} > <Internal {...(props as any)} /> diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/update/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/update/index.tsx index 3adca45db..fb9b1d8aa 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/templates/update/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/templates/update/index.tsx @@ -80,7 +80,7 @@ export default function UpdateTemplate({ <Fragment> <NotificationCard notification={notif} /> <UpdatePage - template={{ ...result.data, id: tid }} + template={{ ...result.data }} onBack={onBack} onUpdate={(data) => { return updateTemplate(tid, data) |