mirror of
https://github.com/outline/outline.git
synced 2026-11-22 14:01:41 +03:00
Merge pull request #278 from jorilallo/jori/fix-doc-cache
Fixed document edit cache. Closes #265
This commit is contained in:
commit
be5dfe2a18
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user