cherry pick

This commit is contained in:
2025-09-03 12:28:57 +08:00
parent 41df5739c3
commit 0974777be6
2 changed files with 2 additions and 2 deletions

View File

@@ -357,7 +357,7 @@ $$$('#group_by', 'change', (e) => {
for (let target of targets) {
for (let key of Object.keys(countries)) {
if (target.predicate == null || target.predicate.includes(key)) {
if (target.predicate.length == 0 || target.predicate.includes(key)) {
if (target.locale === locale) {
results[key] = countries[key];
}