We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bed18b commit 040604aCopy full SHA for 040604a
lib/xlsx/xform/sheet/worksheet-xform.js
@@ -458,7 +458,7 @@ class WorkSheetXform extends BaseXform {
458
// options.merges.reconcile(model.mergeCells, model.rows);
459
const rels = (model.relationships || []).reduce((h, rel) => {
460
h[rel.Id] = rel;
461
- if (rel.Type === RelType.Comments) {
+ if (rel.Type === RelType.Comments && options.comments[rel.Target]) {
462
model.comments = options.comments[rel.Target].comments;
463
}
464
if (rel.Type === RelType.VmlDrawing && model.comments && model.comments.length) {
0 commit comments