Skip to content

Commit

Permalink
🚑️ Fix invalid arweaveInfo fields used
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Feb 14, 2025
1 parent a4613c8 commit cdb10a8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pages/edit/_iscnId.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cdb10a8

Please sign in to comment.