Skip to content

Commit

Permalink
close merge modal after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
philippotto committed Jul 24, 2018
1 parent b76ccd1 commit 4bfebc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ class MergeModalView extends PureComponent<Props, MergeModalViewState> {
this.props.addTreesAndGroupsAction(createTreeMapFromTreeArray(trees), treeGroups || []);
this.setState({ isUploading: false });
Toast.success(messages["tracing.merged"]);
this.props.onOk();
}

render() {
Expand All @@ -184,7 +185,6 @@ class MergeModalView extends PureComponent<Props, MergeModalViewState> {
<Modal
title="Merge"
visible={this.props.isVisible}
onOk={this.props.onOk}
onCancel={this.props.onOk}
className="merge-modal"
width={800}
Expand Down

0 comments on commit 4bfebc8

Please sign in to comment.