WebUI: Fix unknown country flag path

This commit is contained in:
skomerko 2025-02-14 16:24:12 +01:00
commit 7e95375cec

View file

@ -1752,7 +1752,7 @@ window.qBittorrent.DynamicTable ??= (() => {
td.append(span);
}
span.style.backgroundImage = `url('images/flags/${country_code ?? "xx"}.svg')`;
span.style.backgroundImage = `url('images/flags/${country_code || "xx"}.svg')`;
span.textContent = country;
td.title = country;
};