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