From cdb10a8488ea306109dae8021f33d84fc2999201 Mon Sep 17 00:00:00 2001 From: William Chong Date: Fri, 14 Feb 2025 16:02:21 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=EF=B8=8F=20Fix=20invalid=20arweave?= =?UTF-8?q?Info=20fields=20used?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/edit/_iscnId.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/edit/_iscnId.vue b/pages/edit/_iscnId.vue index 728fb24f..2f9fbe1d 100644 --- a/pages/edit/_iscnId.vue +++ b/pages/edit/_iscnId.vue @@ -330,7 +330,7 @@ export default class EditIscnPage extends Vue { if (this.isUseArweaveLink) { return this.uploadArweaveLinkList } - return this.uploadArweaveInfoList.map((info) => formatArweave(info.link, info.key) as string) + return this.uploadArweaveInfoList.map((info) => formatArweave(info.id, info.key) as string) } get formattedSameAsList() { @@ -428,17 +428,17 @@ export default class EditIscnPage extends Vue { onSubmitUpload({ fileRecords, - arweaveRecords, + arweaveInfos, }: { fileRecords: any[] - arweaveRecords: any[] + arweaveInfos: any[] }) { this.contentFingerprints = [] if (fileRecords && fileRecords.length) { this.uploadFileRecords = [...fileRecords] } - if (arweaveRecords && arweaveRecords.length) { - this.uploadArweaveInfoList = [...arweaveRecords] + if (arweaveInfos && arweaveInfos.length) { + this.uploadArweaveInfoList = [...arweaveInfos] } logTrackerEvent(this, 'ISCNEdit', 'ISCNConfirmFile', '', 1) this.step = 2