From 9fe0b0ca594f9db358452444a6249df26ae9b273 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 10 Dec 2022 22:16:56 +0100 Subject: [PATCH] fixed bug with different column count --- UI/Component/Table.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UI/Component/Table.js b/UI/Component/Table.js index 05232eb..074d158 100755 --- a/UI/Component/Table.js +++ b/UI/Component/Table.js @@ -406,6 +406,10 @@ export class Table const status = checkbox.checked; for (let i = 0; i < rowLength; ++i) { + if (typeof rows[i].cells[columnId] === 'undefined') { + break; + } + const box = rows[i].cells[columnId].querySelector('input[type=checkbox]'); if (box !== null) {