fix: show geos checked onSearch
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Vicent Llopis 2022-07-07 13:37:36 +02:00
parent 44e95a00c3
commit 94872f8493
1 changed files with 3 additions and 1 deletions

View File

@ -289,8 +289,10 @@ class Controller extends Section {
}
getChecked(data) {
for (let geo of data)
for (let geo of data) {
geo.checked = this.exclusionGeos.has(geo.id);
if (geo.childs) this.getChecked(geo.childs);
}
}
onItemCheck(geoId, checked) {