fix note refresh for unsaved changes
This commit is contained in:
parent
c7799a76fb
commit
8e4ee5a2a4
|
@ -242,6 +242,10 @@ export default {
|
|||
},
|
||||
|
||||
refreshNote() {
|
||||
if (this.note.unsaved) {
|
||||
this.startRefreshTimer()
|
||||
return
|
||||
}
|
||||
refreshNote(parseInt(this.noteId), this.etag).then(etag => {
|
||||
if (etag) {
|
||||
this.etag = etag
|
||||
|
|
Loading…
Reference in New Issue