mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
Desktop: Fixes #3876: Tags could not be selected in some cases
This commit is contained in:
parent
31a0449e71
commit
ed71726e87
@ -897,7 +897,7 @@ const reducer = produce((draft: Draft<State> = defaultState, action:any) => {
|
||||
|
||||
case 'TAG_SELECT':
|
||||
|
||||
if (draft.selectedTagId !== action.id) {
|
||||
if (draft.selectedTagId !== action.id || draft.notesParentType !== 'Tag') {
|
||||
draft.selectedTagId = action.id;
|
||||
if (!action.id) {
|
||||
draft.notesParentType = defaultNotesParentType(draft, 'Tag');
|
||||
|
Loading…
Reference in New Issue
Block a user