Merge pull request #429 from outline/jori/set-active-on-save

Set active document after save
This commit is contained in:
Jori Lallo authored and GitHub committed 2017-11-19 22:56:16 -08:00
commit cd083f482b
1 file changed
+1
+1
View File
@@ -170,6 +170,7 @@ class DocumentScene extends Component {
if (redirect || this.props.newDocument) {
this.props.history.push(document.url);
this.props.ui.setActiveDocument(document);
}
};