Fix base fields in connectorTypeSchemaData.js
This commit is contained in:
parent
5751838a3d
commit
05843bb093
|
@ -30,7 +30,7 @@
|
||||||
for (let type of types) {
|
for (let type of types) {
|
||||||
var fieldIDs = Zotero.ItemFields.getItemTypeFields(type.id);
|
var fieldIDs = Zotero.ItemFields.getItemTypeFields(type.id);
|
||||||
var baseFields = {};
|
var baseFields = {};
|
||||||
for (let fieldID in fieldIDs) {
|
for (let fieldID of fieldIDs) {
|
||||||
if (baseMappedFields.includes(fieldID)) {
|
if (baseMappedFields.includes(fieldID)) {
|
||||||
baseFields[fieldID] = Zotero.ItemFields.getBaseIDFromTypeAndField(type.id, fieldID);
|
baseFields[fieldID] = Zotero.ItemFields.getBaseIDFromTypeAndField(type.id, fieldID);
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user