diff --git a/components/IscnUploadForm.vue b/components/IscnUploadForm.vue index 100e7aac..b380dde7 100644 --- a/components/IscnUploadForm.vue +++ b/components/IscnUploadForm.vue @@ -398,7 +398,7 @@ export default class IscnUploadForm extends Vue { if (errormsg) this.isOpenWarningSnackbar = true } - @Watch('fileRecords') + @Watch('modifiedFileRecords') async estimateArFee(fileRecords: any) { if (fileRecords.length) { this.uploadStatus = 'loading' diff --git a/pages/edit/_iscnId.vue b/pages/edit/_iscnId.vue index 62e71fdf..17d7e634 100644 --- a/pages/edit/_iscnId.vue +++ b/pages/edit/_iscnId.vue @@ -338,10 +338,10 @@ export default class EditIscnPage extends Vue { description: this.description, keywords: this.contentMetadata.keywords, url: this.contentMetadata.url, - contentFingerprints: [ + contentFingerprints: Array.from(new Set([ ...this.contentFingerprints, ...this.customContentFingerprints, - ], + ])), stakeholders: this.iscnRecord?.stakeholders, type: this.contentMetadata['@type'], usageInfo: this.contentMetadata.usageInfo,