Skip to content
Snippets Groups Projects
Commit 2e193518 authored by chris's avatar chris
Browse files

merge cases

parent f3b9a228
No related branches found
No related tags found
1 merge request!234Search replace
......@@ -240,18 +240,12 @@ const FindComponent = ({
helpers.moveToMatch(view, lastActiveViewId, results, position + 1);
}
/* User selection greater than found and end of results for the view */
if (
lastSelection.from >= found &&
position === resultsFrom[lastActiveViewId].length - 1
) {
nextInNotes(notesIds, results, findViewWithMatches);
}
/* Last result of the specific view. Move to next view */
if (
lastSelection.from === found &&
position === resultsFrom[lastActiveViewId].length - 1
(lastSelection.from === found &&
position === resultsFrom[lastActiveViewId].length - 1) ||
(lastSelection.from >= found &&
position === resultsFrom[lastActiveViewId].length - 1)
) {
/* End of results in notes move to main if results exist */
if (
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment