You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Mobile: Fixes #11468: Ensure note list is re-ordered after updating a note opened via a search (#13506)
This commit is contained in:
@@ -67,6 +67,11 @@ const appReducer = (state = appDefaultState, action: any) => {
|
||||
|
||||
newState.selectedNoteHash = '';
|
||||
|
||||
if (currentRoute.routeName === 'Search' && action.routeName === 'Notes') {
|
||||
// Force a reload of the note list
|
||||
newState.notesSource = '';
|
||||
}
|
||||
|
||||
if (action.routeName === 'Search') {
|
||||
newState.notesParentType = 'Search';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user