diegodlh / zotero-cita

Cita: a Wikidata addon for Zotero with citations metadata support
GNU General Public License v3.0
233 stars 12 forks source link

`SourceItemWrapper` not loading citations if storage type not specified #201

Closed Dominic-DallOsto closed 2 years ago

Dominic-DallOsto commented 2 years ago

176 changed the constructor for SourceItemWrapper to also require the storage type - either note or extra.

The constructor usage wasn't updated everywhere - eg. in https://github.com/diegodlh/zotero-cita/blob/master/src/zoteroOverlay.jsx#L176 which caused the storage location to be undefined and no citations to be loaded. This was visible as the citations column always reading 0.