fix: show geos checked onSearch
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
44e95a00c3
commit
94872f8493
|
@ -289,8 +289,10 @@ class Controller extends Section {
|
||||||
}
|
}
|
||||||
|
|
||||||
getChecked(data) {
|
getChecked(data) {
|
||||||
for (let geo of data)
|
for (let geo of data) {
|
||||||
geo.checked = this.exclusionGeos.has(geo.id);
|
geo.checked = this.exclusionGeos.has(geo.id);
|
||||||
|
if (geo.childs) this.getChecked(geo.childs);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onItemCheck(geoId, checked) {
|
onItemCheck(geoId, checked) {
|
||||||
|
|
Loading…
Reference in New Issue