diff --git a/src/pages/Zone/Card/ZoneLocationsTree.vue b/src/pages/Zone/Card/ZoneLocationsTree.vue index 6b36b6109..69ace53e2 100644 --- a/src/pages/Zone/Card/ZoneLocationsTree.vue +++ b/src/pages/Zone/Card/ZoneLocationsTree.vue @@ -81,16 +81,6 @@ const fetchNodeLeaves = async (nodeKey) => { } }; -const onSelected = async (val, node) => { - try { - if (val === null) val = undefined; - const params = { geoId: node.id, isIncluded: val }; - await axios.post(`Zones/${route.params.id}/toggleIsIncluded`, params); - } catch (err) { - console.error('Error updating included', err); - } -}; - function getNodeIds(node) { let ids = []; if (node.id) ids.push(node.id);