WebUI: Use Map instead of Mootools Hash in all dynamic tables

PR #21358.
This commit is contained in:
skomerko
2024-09-28 09:46:16 +02:00
committed by GitHub
parent 81def39d8c
commit 8b2d8f3afd
10 changed files with 176 additions and 181 deletions

View File

@@ -202,7 +202,7 @@
// clear event listeners
setupSearchPluginTableEvents(false);
const oldPlugins = Object.keys(searchPluginsTable.rows);
const oldPlugins = [...searchPluginsTable.getRowIds()];
// remove old rows from the table
for (let i = 0; i < oldPlugins.length; ++i) {
let found = false;