Merge pull request #278 from jorilallo/jori/fix-doc-cache

Fixed document edit cache. Closes #265
This commit is contained in:
Jori Lallo
2017-09-28 00:13:39 -07:00
committed by GitHub

View File

@ -161,6 +161,7 @@ type Props = {
onSave = async (redirect: boolean = false) => {
if (this.document && !this.document.allowSave) return;
this.editCache = null;
let document = this.document;
if (!document) return;