Fix prefer for-of errors

This commit is contained in:
Bill Thornton
2023-05-04 11:27:15 -04:00
parent ef719c45f4
commit 1b03cd79eb
11 changed files with 26 additions and 47 deletions
@@ -66,8 +66,7 @@ function populateList(options) {
let currentCategory = null;
let html = '';
for (let i = 0; i < availablePlugins.length; i++) {
const plugin = availablePlugins[i];
for (const plugin of availablePlugins) {
const category = plugin.categoryDisplayName;
if (category != currentCategory) {
if (currentCategory) {