1
0
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:
mrjo118
2025-10-28 10:28:59 +00:00
committed by GitHub
parent b25e18107b
commit 9810bffddc

View File

@@ -67,6 +67,11 @@ const appReducer = (state = appDefaultState, action: any) => {
newState.selectedNoteHash = ''; newState.selectedNoteHash = '';
if (currentRoute.routeName === 'Search' && action.routeName === 'Notes') {
// Force a reload of the note list
newState.notesSource = '';
}
if (action.routeName === 'Search') { if (action.routeName === 'Search') {
newState.notesParentType = 'Search'; newState.notesParentType = 'Search';
} }