Skip to content

Commit 6b06bf3

Browse files
committed
Fix region filtering
1 parent 74f26ae commit 6b06bf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/trainee-batch.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ <h2>Unknown PRs</h2>
132132
regionToShow[checkbox.value] = checkbox.checked;
133133
}
134134
for (const row of Array.from(document.getElementsByTagName("tr")).slice(3)) {
135-
const region = row.getElementsByTagName("td")[1].textContent;
135+
const region = row.getElementsByTagName("td")[0].textContent;
136136
row.style.display = regionToShow[region] ? "table-row" : "none";
137137
}
138138
};

0 commit comments

Comments
 (0)