From ff2d7e9ae9ba3779d476dd0bce8a101ef1c0877b Mon Sep 17 00:00:00 2001 From: AuroraHuang22 Date: Fri, 22 Dec 2023 14:25:59 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20thumbnailUrl=20undefined?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/IscnUploadForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/IscnUploadForm.vue b/components/IscnUploadForm.vue index cfd47d38..156e0604 100644 --- a/components/IscnUploadForm.vue +++ b/components/IscnUploadForm.vue @@ -710,7 +710,7 @@ export default class UploadForm extends Vue { this.sentArweaveTransactionInfo.set(records.ipfsHash, { ...uploadedData, arweaveId }); if (tempRecord.fileName.includes('cover.jpeg')) { const metadata = this.epubMetadataList.find((file: any) => file.ipfsHash === records.ipfsHash) - if (metadata && metadata.thumbnailUrl) { + if (metadata) { metadata.thumbnailUrl = arweaveId } }