Merge pull request #278 from jorilallo/jori/fix-doc-cache
Fixed document edit cache. Closes #265
This commit is contained in:
@ -161,6 +161,7 @@ type Props = {
|
|||||||
|
|
||||||
onSave = async (redirect: boolean = false) => {
|
onSave = async (redirect: boolean = false) => {
|
||||||
if (this.document && !this.document.allowSave) return;
|
if (this.document && !this.document.allowSave) return;
|
||||||
|
this.editCache = null;
|
||||||
let document = this.document;
|
let document = this.document;
|
||||||
|
|
||||||
if (!document) return;
|
if (!document) return;
|
||||||
|
Reference in New Issue
Block a user