Skip to content

Commit

Permalink
pkp/pkp-lib#9497 Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec committed Jan 14, 2025
1 parent 88766e6 commit 0c7f34a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/pubIds/urn/js/FieldPubIdUrn.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0c7f34a

Please sign in to comment.