1 parent
7132b069b6
commit
1ada39f226
1 file changed
+5
@@ -21,6 +21,11 @@ document.addEventListener('alpine:init', () => {
|
|||||||
let items = {}
|
let items = {}
|
||||||
for (let channel of channels) {
|
for (let channel of channels) {
|
||||||
if (!items[channel.country]) {
|
if (!items[channel.country]) {
|
||||||
|
if (!countries[channel.country]) {
|
||||||
|
console.log('Warning: Wrong country code', channel)
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
const country = countries[channel.country]
|
const country = countries[channel.country]
|
||||||
|
|
||||||
items[channel.country] = {
|
items[channel.country] = {
|
||||||
|
|||||||
Reference in new issue
Block a user