mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Desktop: Fixes #3754: Refresh search results when searching by tag and when a tag is changed
This commit is contained in:
parent
8bd58c9608
commit
e0e4735b03
@ -499,7 +499,11 @@ class BaseApplication {
|
|||||||
refreshNotesUseSelectedNoteId = true;
|
refreshNotesUseSelectedNoteId = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (action.type == 'TAG_SELECT' || action.type === 'TAG_DELETE') {
|
// Should refresh the notes when:
|
||||||
|
// - A tag is selected, to show the notes for that tag
|
||||||
|
// - When a tag is updated so that when searching by tags, the search results are updated
|
||||||
|
// https://github.com/laurent22/joplin/issues/3754
|
||||||
|
if (['TAG_SELECT', 'TAG_DELETE', 'TAG_UPDATE_ONE', 'NOTE_TAG_REMOVE'].includes(action.type)) {
|
||||||
refreshNotes = true;
|
refreshNotes = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user