From 7e95375cec0840ea7b469b59e8b0f701b1905277 Mon Sep 17 00:00:00 2001 From: skomerko <168652295+skomerko@users.noreply.github.com> Date: Fri, 14 Feb 2025 16:24:12 +0100 Subject: [PATCH] WebUI: Fix unknown country flag path --- src/webui/www/private/scripts/dynamicTable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/www/private/scripts/dynamicTable.js b/src/webui/www/private/scripts/dynamicTable.js index 1d5c54278..4d269c7e4 100644 --- a/src/webui/www/private/scripts/dynamicTable.js +++ b/src/webui/www/private/scripts/dynamicTable.js @@ -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; };