mirror of https://github.com/laurent22/joplin.git
Merge branch 'master' of github.com:laurent22/joplin
commit
525ba12fc8
|
@ -443,6 +443,16 @@ class BaseApplication {
|
||||||
refreshNotes = true;
|
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) {
|
if (refreshNotes) {
|
||||||
await this.refreshNotes(newState, refreshNotesUseSelectedNoteId, refreshNotesHash);
|
await this.refreshNotes(newState, refreshNotesUseSelectedNoteId, refreshNotesHash);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue