summaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx')
-rw-r--r--packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx2
1 files changed, 1 insertions, 1 deletions
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 3a32409a0..a4813c8e9 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
@@ -102,7 +102,7 @@ export function UpdatePage({ template, onUpdate, onBack }: Props): VNode {
const deviceList =
!devices || devices instanceof TalerError || devices.type === "fail"
? []
- : devices.body;
+ : devices.body.otp_devices;
const deviceMap = deviceList.reduce(
(prev, cur) => {
prev[cur.otp_device_id] = cur.device_description as TranslatedString;