From b12ad941cd99b5e4c7d75e39873ba3abdeb4d249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFs=20Mansot?= <26844641+devfull@users.noreply.github.com> Date: Fri, 29 Sep 2023 16:59:46 +0200 Subject: [PATCH] update dto for `GET /anchors/:uid` --- src/front/Components/Layouts/Folder/FolderInformation/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/front/Components/Layouts/Folder/FolderInformation/index.tsx b/src/front/Components/Layouts/Folder/FolderInformation/index.tsx index c816aeea..098250b2 100644 --- a/src/front/Components/Layouts/Folder/FolderInformation/index.tsx +++ b/src/front/Components/Layouts/Folder/FolderInformation/index.tsx @@ -274,7 +274,7 @@ class FolderInformationClass extends BasePage { if (!uid) return; const anchor = await OfficeFolderAnchors.getInstance().get(uid); - if (anchor.transactions[0].status !== "VERIFIED_ON_CHAIN") return; + if (anchor.status !== "VERIFIED_ON_CHAIN") return; try { const file: Blob = await OfficeFolderAnchors.getInstance().download(uid);