Commit 1e621022 authored by Patrik Meijer's avatar Patrik Meijer
Browse files

Fix typo in ptr creation

parent 02e0b003
......@@ -463,7 +463,7 @@ ${activeSelection.includes(edgeId) ? ' in-active-selection' : ''}`,
}
});
this.cy.on('vclick', (e) => {
this.cy.on('vclick', 'node', (e) => {
this.reposition = {};
const {setActiveSelection, gmeClient} = this.props;
const {createPointer} = this.state;
......@@ -504,7 +504,7 @@ ${activeSelection.includes(edgeId) ? ' in-active-selection' : ''}`,
this.setState({
createPointer: {
nodeId: createPointer.nodeId,
prtName: createPointer.prtName,
ptrName: createPointer.ptrName,
target: e.target.id(),
},
});
......@@ -629,6 +629,7 @@ ${activeSelection.includes(edgeId) ? ' in-active-selection' : ''}`,
onClose={() => {
this.setState({showNodeMenu: null});
}}
createPointer = {this.startNewPointer}
setActiveNode={setActiveNode}
/>) : null}
......
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