Merge branch 'master' of github.com:laurent22/joplin

pull/2482/head
Laurent Cozic 2020-02-09 22:17:10 +00:00
commit 525ba12fc8
1 changed files with 10 additions and 0 deletions

View File

@ -443,6 +443,16 @@ class BaseApplication {
refreshNotes = true;
}
if (action.type == 'NOTE_TAG_REMOVE') {
if (newState.notesParentType === 'Tag' && newState.selectedTagId === action.item.id) {
if (newState.notes.length === newState.selectedNoteIds.length) {
await this.refreshCurrentFolder();
refreshNotesUseSelectedNoteId = true;
}
refreshNotes = true;
}
}
if (refreshNotes) {
await this.refreshNotes(newState, refreshNotesUseSelectedNoteId, refreshNotesHash);
}