From 1872b85a41d7002554312200d8e8503b35fa9291 Mon Sep 17 00:00:00 2001 From: William Chong Date: Thu, 22 Feb 2024 01:51:53 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20duplicated=20content=20fin?= =?UTF-8?q?gerprint=20on=20update=20iscn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/edit/_iscnId.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/edit/_iscnId.vue b/pages/edit/_iscnId.vue index e417d2d9..309790b7 100644 --- a/pages/edit/_iscnId.vue +++ b/pages/edit/_iscnId.vue @@ -281,10 +281,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,