Open document after editing it

This commit is contained in:
Jori Lallo
2016-06-05 13:10:16 -07:00
parent 3d2f3d002a
commit b105a69b3d

View File

@@ -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");
}