mirror of
https://github.com/outline/outline.git
synced 2026-11-26 15:43:48 +03:00
Don't redirect on new document save
This commit is contained in:
1 parent
32ba98bb1a
commit
db41d779bf
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user