mirror of https://github.com/laurent22/joplin.git
Desktop: Fix hang when selecting tag when multiple notes are selected (also for search) (#2372)
* Fix hang when tag clicked while multiple notes selected. * Fix hang when search changed while multiple notes selected from previous search.pull/2376/head
parent
0bb1484b2d
commit
83c1c20ce3
|
@ -548,6 +548,7 @@ const reducer = (state = defaultState, action) => {
|
|||
} else {
|
||||
newState.notesParentType = 'Tag';
|
||||
}
|
||||
newState.selectedNoteIds = [];
|
||||
break;
|
||||
|
||||
case 'TAG_UPDATE_ONE':
|
||||
|
@ -675,6 +676,7 @@ const reducer = (state = defaultState, action) => {
|
|||
} else {
|
||||
newState.notesParentType = 'Search';
|
||||
}
|
||||
newState.selectedNoteIds = [];
|
||||
break;
|
||||
|
||||
case 'APP_STATE_SET':
|
||||
|
|
Loading…
Reference in New Issue