From 0c7f34a91b3e355d8b30166c8220164bc903c48d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarda=20Kot=C4=9B=C5=A1ovec?= <jarda.kotesovec@gmail.com> Date: Tue, 14 Jan 2025 12:43:24 +0100 Subject: [PATCH] pkp/pkp-lib#9497 Clean up --- plugins/pubIds/urn/js/FieldPubIdUrn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pubIds/urn/js/FieldPubIdUrn.js b/plugins/pubIds/urn/js/FieldPubIdUrn.js index e9998897ee4..f86e5cff517 100644 --- a/plugins/pubIds/urn/js/FieldPubIdUrn.js +++ b/plugins/pubIds/urn/js/FieldPubIdUrn.js @@ -22,7 +22,7 @@ pkp.registry.registerComponent('FieldPubIdUrn', { }, methods: { generateId() { - var id = pkp.Vue.component('field-pub-id').methods['generateId'].apply(this); + var id = pkp.registry.getComponent('PkpFieldPubId').methods['generateId'].apply(this); return this.applyCheckNumber ? id + $.pkp.plugins.generic.urn.getCheckNumber(id, this.prefix) : id;