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