From e01c63823f70ed91f0f54e69dacd975a656ed828 Mon Sep 17 00:00:00 2001 From: Guilherme Chaguri Date: Mon, 20 May 2024 03:39:48 -0300 Subject: [PATCH] fix(comments): fix error when the worksheet has both comments and images --- source/lib/worksheet/builder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/worksheet/builder.js b/source/lib/worksheet/builder.js index b561800..74dfab1 100644 --- a/source/lib/worksheet/builder.js +++ b/source/lib/worksheet/builder.js @@ -530,11 +530,11 @@ let sheetXML = (ws) => { .then(_addHyperlinks) .then(_addPrintOptions) .then(_addPageMargins) - .then(_addLegacyDrawing) .then(_addPageSetup) .then(_addPageBreaks) .then(_addHeaderFooter) .then(_addDrawing) + .then(_addLegacyDrawing) .then((promiseObj) => { return new Promise((resolve, reject) => { wsXML.end();