Skip to content
Snippets Groups Projects
Commit a5ccc6c8 authored by mthomas41's avatar mthomas41
Browse files

modal will now close when an action has been selected

parent 40536d7d
Branches
No related tags found
No related merge requests found
......@@ -42,17 +42,22 @@ function Move(props) {
treeName: props.treeName,
position: props.position,
}));
const makingMainline = () =>
const makingMainline = () => {
dispatch(makeMainLine({
treeName: props.treeName,
positionIdentity: props.position,
}));
history.goBack();
};
const deletingLine = () =>
const deletingLine = () => {
dispatch(deleteLine({
treeName: props.treeName,
positionIdentity: props.position,
}));
history.goBack();
};
const exitModal = () => {
history.goBack();
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment