Don't redirect on new document save

This commit is contained in:
Zachary Marion
2017-12-20 00:20:27 -05:00
parent 32ba98bb1a
commit db41d779bf

View File

@ -168,7 +168,7 @@ class DocumentScene extends Component {
document = await document.save();
this.isSaving = false;
if (redirect || this.props.newDocument) {
if (redirect) {
this.props.history.push(document.url);
this.props.ui.setActiveDocument(document);
}