const nodes = getSidePanelTreeBranch(uuid)(treePicker);
return nodes.map(node =>
typeof node.value === 'string'
- ? { label: node.value, uuid: node.nodeId }
+ ? { label: node.value, uuid: node.id }
: { label: node.value.name, uuid: node.value.uuid });
};