Merge branch fix/download-anchor-proof into dev (#77)

This commit is contained in:
Loïs Mansot 2023-09-29 17:16:14 +02:00 committed by GitHub
commit 6d3f34e87b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -274,7 +274,7 @@ class FolderInformationClass extends BasePage<IPropsClass, IState> {
if (!uid) return; if (!uid) return;
const anchor = await OfficeFolderAnchors.getInstance().get(uid); const anchor = await OfficeFolderAnchors.getInstance().get(uid);
if (anchor.transactions[0].status !== "VERIFIED_ON_CHAIN") return; if (anchor.status !== "VERIFIED_ON_CHAIN") return;
try { try {
const file: Blob = await OfficeFolderAnchors.getInstance().download(uid); const file: Blob = await OfficeFolderAnchors.getInstance().download(uid);