From 18f46d25302de8ed87d2275176ed1a2d9a0b7579 Mon Sep 17 00:00:00 2001 From: HF Date: Sun, 18 Sep 2022 13:05:43 +0200 Subject: [PATCH] watchtools second fix --- src/core/utils.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/core/utils.js b/src/core/utils.js index 3ec32ca..8324bbb 100644 --- a/src/core/utils.js +++ b/src/core/utils.js @@ -532,9 +532,10 @@ export function combineTables(a, b) { for (let u = 0; u < sTable.rows.length; u += 1) { newRows[u].push(sTable.rows[u][colInd]); } - } - for (let u = 0; u < sTable.rows.length; u += 1) { - newRows[u].push(null); + } else { + for (let u = 0; u < sTable.rows.length; u += 1) { + newRows[u].push(null); + } } } bTable.rows = bTable.rows.concat(newRows);