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 {
.map(metaNode => ({name: metaNode.getFullyQualifiedName(), id: metaNode.getId()}))
.forEach((info) => {
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>
<ConnectionIcon/>
</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