Add disposeAutoSave method autosave mixin.

This commit is contained in:
Fatih Acet 2018-07-16 14:35:04 +02:00
parent 01aa7752ef
commit e95be13d4d
No known key found for this signature in database
GPG Key ID: E994FE39E29B7E11
2 changed files with 4 additions and 1 deletions

View File

@ -152,7 +152,7 @@ export default {
this.initAutoSave(this.transformedDiscussion, ['Reply']);
});
} else {
this.autosave.dispose();
this.disposeAutoSave();
}
},
},

View File

@ -23,5 +23,8 @@ export default {
setAutoSave() {
this.autosave.save();
},
disposeAutoSave() {
this.autosave.dispose();
},
},
};