similar notes algorithm tweaks (WIP)

This commit is contained in:
zadam
2020-09-10 21:01:46 +02:00
parent bff5b015ea
commit 056c40c0d0
4 changed files with 35 additions and 9 deletions

View File

@@ -101,9 +101,9 @@ export default class SimilarNotesWidget extends TabAwareWidget {
}, 1000);
}
async refreshWithNote(note) {
async refresh() {
// remember which title was when we found the similar notes
this.title = note.title;
this.title = this.note.title;
const similarNotes = await server.get('similar-notes/' + this.noteId);