We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cf2a063 + 92109ff commit c7d781bCopy full SHA for c7d781b
1 file changed
webapp/components/general/ControlPanelTreeItem.js
@@ -172,7 +172,7 @@ const ControlPanelTreeItem = (props) => {
172
}
173
174
const handleLeafColorChange = (event, nodeId, colorGenerator) => {
175
- const updateInstances = instances.filter((instance) => !instance.pathInstance.startsWith(nodeId));
+ const updateInstances = instances.filter((instance) => !instance.instancePath.startsWith(nodeId));
176
updateInstances.push({
177
instancePath: nodeId,
178
color: translateColor(colorGenerator())
0 commit comments