Skip to content

Commit 9ea04b8

Browse files
committed
Fix the selector function to use the correct title mapping
1 parent 7a74f0b commit 9ea04b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/finder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default class Finder {
3030

3131
const options: FzfOptions<string> = {
3232
limit,
33-
selector: x => `${this.titles[+x]} ${this.docs[x].body}`,
33+
selector: x => `${this.titlesByKey[x]} ${this.docs[x].body}`,
3434
tiebreakers: [byStartAsc],
3535
};
3636

0 commit comments

Comments
 (0)