diff --git a/components/IscnRegisterForm.vue b/components/IscnRegisterForm.vue
index 51a97ccf..101629b9 100644
--- a/components/IscnRegisterForm.vue
+++ b/components/IscnRegisterForm.vue
@@ -355,6 +355,15 @@
:placeholder="$t('IscnRegisterForm.placeholder.url')"
/>
+
+
+
file),
license: this.formattedLicense,
ipfsHash: this.ipfsHashList,
@@ -1006,7 +1018,7 @@ export default class IscnRegisterForm extends Vue {
authorDescriptions: this.authorDescriptions,
contentFingerprints: this.customContentFingerprints,
inLanguage: this.language,
- thumbnailUrl: this.epubMetadata?.thumbnailUrl,
+ thumbnailUrl: this.thumbnailUrl,
}
}
@@ -1092,6 +1104,7 @@ export default class IscnRegisterForm extends Vue {
this.author.name = this.epubMetadata.author;
this.language = this.epubMetadata.language
this.tags = this.epubMetadata.tags
+ this.thumbnailUrl = this.epubMetadata.thumbnailUrl
if (this.author.name) { this.authors.push(this.author) }
}
diff --git a/components/IscnUploadForm.vue b/components/IscnUploadForm.vue
index 507431ff..bd0e3af9 100644
--- a/components/IscnUploadForm.vue
+++ b/components/IscnUploadForm.vue
@@ -740,7 +740,7 @@ export default class UploadForm extends Vue {
if (arweaveId) {
const uploadedData = this.sentArweaveTransactionHashes.get(records.ipfsHash) || {};
this.sentArweaveTransactionHashes.set(records.ipfsHash, { ...uploadedData, arweaveId });
- if (tempRecord.fileName === 'cover.jpeg') {
+ if (tempRecord.fileName.includes('cover.jpeg')) {
const metadata = this.epubMetadataList.find((file: any) => file.ipfsHash === records.ipfsHash)
metadata.thumbnailUrl = `ar://${arweaveId}`
}
diff --git a/locales/en.json b/locales/en.json
index 3b57682b..57f36a82 100644
--- a/locales/en.json
+++ b/locales/en.json
@@ -210,6 +210,7 @@
"IscnRegisterForm.label.emptyFile": "No Content",
"IscnRegisterForm.label.fingerprints": "Content Fingerprints",
"IscnRegisterForm.label.iscn": "ISCN Title",
+ "IscnRegisterForm.label.isbn": "ISBN",
"IscnRegisterForm.label.license": "License",
"IscnRegisterForm.label.likerID": "LikerID",
"IscnRegisterForm.label.sameAs" : "Same As URLs",
@@ -235,6 +236,7 @@
"IscnRegisterForm.placeholder.fileName": "File Name (en)",
"IscnRegisterForm.placeholder.fileType": "File Type",
"IscnRegisterForm.placeholder.url": "URL",
+ "IscnRegisterForm.placeholder.isbn": "ISBN 10/ ISCN 13",
"IscnRegisterForm.placeholder.wallet": "Wallet Address",
"IscnRegisterForm.quitAlertDialog.confirm": "Cancel Registration",
"IscnRegisterForm.quitAlertDialog.content": "Your registration will be cancelled if you leave this page, and the paid fee cannot be refunded.",
diff --git a/utils/cosmos/iscn/iscn.type.ts b/utils/cosmos/iscn/iscn.type.ts
index 42bd0afa..8f36b25b 100644
--- a/utils/cosmos/iscn/iscn.type.ts
+++ b/utils/cosmos/iscn/iscn.type.ts
@@ -26,6 +26,7 @@ export interface ISCNRegisterPayload {
memo?: string;
inLanguage?: string;
thumbnailUrl?: string;
+ isbn?: string | number;
}
export interface ISCNRecordWithID extends ISCNRecord {
id: string;