meta+s now redirects to document edit page

This commit is contained in:
Zachary Marion
2017-12-20 13:45:15 -05:00
parent db41d779bf
commit 721374e08d

View File

@@ -171,6 +171,9 @@ class DocumentScene extends Component {
if (redirect) {
this.props.history.push(document.url);
this.props.ui.setActiveDocument(document);
} else if (this.props.newDocument) {
this.props.history.push(documentEditUrl(document));
this.props.ui.setActiveDocument(document);
}
};