You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
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.
This commit is contained in:
@ -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':
|
||||
|
Reference in New Issue
Block a user