From 94872f8493f0b7f26d3c0f0764f03ca060cb31e5 Mon Sep 17 00:00:00 2001 From: vicent Date: Thu, 7 Jul 2022 13:37:36 +0200 Subject: [PATCH] fix: show geos checked onSearch --- modules/zone/front/events/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/zone/front/events/index.js b/modules/zone/front/events/index.js index e963b96e3..9f66088f7 100644 --- a/modules/zone/front/events/index.js +++ b/modules/zone/front/events/index.js @@ -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) {