From 9b4a3cbc6fb782f19d0b9859afc7e688e2072138 Mon Sep 17 00:00:00 2001 From: orlinmalkja Date: Thu, 21 Nov 2024 10:30:29 +0100 Subject: [PATCH] chore: add citation key in user config --- examples/ahiqar-arabic-karshuni-local.html | 331 +++++++++++---------- src/components/metadata/MetadataItem.vue | 1 - 2 files changed, 167 insertions(+), 165 deletions(-) diff --git a/examples/ahiqar-arabic-karshuni-local.html b/examples/ahiqar-arabic-karshuni-local.html index ab130454..00ac2d33 100644 --- a/examples/ahiqar-arabic-karshuni-local.html +++ b/examples/ahiqar-arabic-karshuni-local.html @@ -1,175 +1,178 @@ -TIDO - - - - - - - - - - - + + TIDO + + + + + + + + + + + -
- - + - + }); + }); + + diff --git a/src/components/metadata/MetadataItem.vue b/src/components/metadata/MetadataItem.vue index 81c970fd..833234dd 100644 --- a/src/components/metadata/MetadataItem.vue +++ b/src/components/metadata/MetadataItem.vue @@ -66,7 +66,6 @@ function showCopyCitation(key, config) { const metadataView = getMetadataView(config.panels); // when we retrieve each MetadataItem, we want to know whether we are in the row of the citation if (metadataView.connector.options.citationKey) { - console.log(metadataView.connector.options.citationKey === key); return metadataView.connector.options.citationKey === key; } return false;