From 7f3253333ebd5ac825901f2f74db690588d3ac96 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 9 Apr 2024 13:21:51 -0300 Subject: fix #8716 and pagination --- .../src/paths/instance/templates/update/UpdatePage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/merchant-backoffice-ui/src/paths/instance/templates/update') 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; -- cgit v1.2.3