Skip to content

Commit

Permalink
Update access.html
Browse files Browse the repository at this point in the history
Fixed issue #103
  • Loading branch information
TC pushbot 5 authored and TC pushbot 5 committed Feb 24, 2024
1 parent 7ae48bf commit 9b21684
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/web/components/access.html
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,8 @@ <h2>Quick Ban List</h2>
function initWhitelistCountryList(){
$.get("/api/whitelist/list?type=country", function(data) {
let bannedListHtml = '';
data.forEach((countryCode) => {
data.forEach((countryWhitelistEntry) => {
let countryCode = countryWhitelistEntry.CC;
bannedListHtml += `
<tr>
<td><i class="${countryCode} flag"></i> ${getCountryName(countryCode)} (${countryCode.toUpperCase()})</td>
Expand Down

0 comments on commit 9b21684

Please sign in to comment.