Open document after editing it
This commit is contained in:
@@ -63,7 +63,7 @@ const documentEditState = new class DocumentEditState {
|
||||
title: this.title,
|
||||
text: this.text,
|
||||
})
|
||||
browserHistory.push(`/atlas/${data.data.atlas.id}`);
|
||||
browserHistory.push(`/documents/${this.documentId}`);
|
||||
} catch (e) {
|
||||
console.error("Something went wrong");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user