diff --git a/src/webui/www/private/scripts/dynamicTable.js b/src/webui/www/private/scripts/dynamicTable.js index b49f35a2f..a7617d702 100644 --- a/src/webui/www/private/scripts/dynamicTable.js +++ b/src/webui/www/private/scripts/dynamicTable.js @@ -2353,7 +2353,7 @@ window.qBittorrent.DynamicTable ??= (() => { populateTable(root) { this.fileTree.setRoot(root); - root.children.each((node) => { + root.children.forEach((node) => { this.#addNodeToTable(node, 0, root); }); } @@ -2366,7 +2366,7 @@ window.qBittorrent.DynamicTable ??= (() => { rowId: node.rowId }); - node.children.each((child) => { + node.children.forEach((child) => { this.#addNodeToTable(child, depth + 1, node); }); } @@ -2869,7 +2869,7 @@ window.qBittorrent.DynamicTable ??= (() => { populateTable(root) { this.fileTree.setRoot(root); - root.children.each((node) => { + root.children.forEach((node) => { this.#addNodeToTable(node, 0, root); }); } @@ -2885,7 +2885,7 @@ window.qBittorrent.DynamicTable ??= (() => { rowId: node.rowId, }); - node.children.each((child) => { + node.children.forEach((child) => { this.#addNodeToTable(child, depth + 1, node); }); }