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

Fix typo in ptr creation

parent 02e0b003
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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}