7525-devToTest #419

Merged
alexm merged 177 commits from 7525-devToTest into test 2024-06-04 08:06:27 +00:00
1 changed files with 0 additions and 10 deletions
Showing only changes of commit b408e0daaf - Show all commits

View File

@ -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) { function getNodeIds(node) {
let ids = []; let ids = [];
if (node.id) ids.push(node.id); if (node.id) ids.push(node.id);