fixed saved search refresh

This commit is contained in:
zadam
2020-12-17 21:19:52 +01:00
parent 053162fef2
commit f8089ba370
4 changed files with 15 additions and 19 deletions

View File

@@ -46,8 +46,8 @@ export default class NoteListWidget extends TabAwareWidget {
}
}
searchResultsUpdatedEvent({searchNoteIds}) {
if (searchNoteIds.includes(this.noteId)) {
notesReloadedEvent({noteIds}) {
if (noteIds.includes(this.noteId)) {
this.refresh();
}
}