mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
fix displaying 1 / 0 in find widget
This commit is contained in:
@@ -59,7 +59,7 @@ export default class FindInText {
|
||||
|
||||
return {
|
||||
totalFound,
|
||||
currentFound: currentFound + 1
|
||||
currentFound: Math.min(currentFound + 1, totalFound)
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user