Commit fdee3ab4 authored by Patrik Meijer's avatar Patrik Meijer
Browse files

Fix bug with object as key

parent d298ad64
...@@ -152,7 +152,7 @@ export default class SimpleActionMenu extends Component { ...@@ -152,7 +152,7 @@ export default class SimpleActionMenu extends Component {
.map(metaNode => ({name: metaNode.getFullyQualifiedName(), id: metaNode.getId()})) .map(metaNode => ({name: metaNode.getFullyQualifiedName(), id: metaNode.getId()}))
.forEach((info) => { .forEach((info) => {
menuItems.push(( menuItems.push((
<MenuItem key={`create-new-conn-${info}`} onClick={this.getCreateConnectionFunc(info.id)}> <MenuItem key={`create-new-conn-${info.id}`} onClick={this.getCreateConnectionFunc(info.id)}>
<ListItemIcon> <ListItemIcon>
<ConnectionIcon/> <ConnectionIcon/>
</ListItemIcon> </ListItemIcon>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment