Fixed document edit cache. Closes #265

This commit is contained in:
Jori Lallo
2017-09-28 00:10:42 -07:00
parent b8a6ba261d
commit 6654981b58

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;