diff options
author | Sebastian <sebasjm@gmail.com> | 2024-03-29 17:26:04 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-03-29 17:26:04 -0300 |
commit | fdce0509a0f78d18fe5296cd1dda4a63b15daf5d (patch) | |
tree | df88b1cc95912bb2127f5c04a42766c15d572614 /packages/merchant-backoffice-ui/src/paths | |
parent | c3cba95a9fd88eb77fd18263287d3a63a9f757e2 (diff) | |
download | wallet-core-fdce0509a0f78d18fe5296cd1dda4a63b15daf5d.tar.xz |
fix #8358
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/admin/create/CreatePage.tsx | 2 | ||||
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/settings/index.tsx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/admin/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/admin/create/CreatePage.tsx index d53d93e8b..731ea8939 100644 --- a/packages/merchant-backoffice-ui/src/paths/admin/create/CreatePage.tsx +++ b/packages/merchant-backoffice-ui/src/paths/admin/create/CreatePage.tsx @@ -123,7 +123,7 @@ export function CreatePage({ onCreate, onBack, forceId }: Props): VNode { newValue.auth_token = undefined; newValue.auth = newToken === null || newToken === undefined ? { method: "external" } - : { method: "token", token: newToken }; + : { method: "token", token: `secret-token:${newToken}` }; if (!newValue.address) newValue.address = {}; if (!newValue.jurisdiction) newValue.jurisdiction = {}; // remove above use conversion diff --git a/packages/merchant-backoffice-ui/src/paths/settings/index.tsx b/packages/merchant-backoffice-ui/src/paths/settings/index.tsx index 6290f48e6..0c4b9dd1a 100644 --- a/packages/merchant-backoffice-ui/src/paths/settings/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/settings/index.tsx @@ -45,6 +45,7 @@ export function Settings({ onClose }: { onClose?: () => void }): VNode { const next = s(value); const v: Preferences = { advanceOrderMode: next.advanceOrderMode ?? false, + hideMissingAccountUntil: next.hideMissingAccountUntil ?? AbsoluteTime.never(), hideKycUntil: next.hideKycUntil ?? AbsoluteTime.never(), dateFormat: next.dateFormat ?? "ymd", }; |