Skip to content

Commit

Permalink
Update components/IscnUploadForm.vue
Browse files Browse the repository at this point in the history
Co-authored-by: AuroraHuang22 <75730405+AuroraHuang22@users.noreply.github.com>
  • Loading branch information
williamchong and AuroraHuang22 committed Feb 16, 2024
1 parent 5a7f79b commit 388f3d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/IscnUploadForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ export default class IscnUploadForm extends Vue {
const uploadedData = this.sentArweaveTransactionInfo.get(record.ipfsHash) || {};
this.sentArweaveTransactionInfo.set(record.ipfsHash, { ...uploadedData, arweaveId });
if (tempRecord.fileName.includes('cover.jpeg')) {
const metadata = this.epubMetadataList.find((file: any) => file.thum === record.ipfsHash)
const metadata = this.epubMetadataList.find((file: any) => file.thumbnailIpfsHash === record.ipfsHash)
if (metadata) {
metadata.thumbnailArweaveId = arweaveId
}
Expand Down

0 comments on commit 388f3d8

Please sign in to comment.