Commit e95be13d authored by Fatih Acet's avatar Fatih Acet

Add disposeAutoSave method autosave mixin.

parent 01aa7752
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
this.initAutoSave(this.transformedDiscussion, ['Reply']); this.initAutoSave(this.transformedDiscussion, ['Reply']);
}); });
} else { } else {
this.autosave.dispose(); this.disposeAutoSave();
} }
}, },
}, },
......
...@@ -23,5 +23,8 @@ export default { ...@@ -23,5 +23,8 @@ export default {
setAutoSave() { setAutoSave() {
this.autosave.save(); this.autosave.save();
}, },
disposeAutoSave() {
this.autosave.dispose();
},
}, },
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment