Skip to content

Commit

Permalink
fix: 🐛 fix truncation only adjusted in one place
Browse files Browse the repository at this point in the history
  • Loading branch information
ksalzke committed Sep 5, 2023
1 parent 7096cd1 commit 0fa4e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fuzzySearchLib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ interface FuzzySearchForm extends Form {
return itemTitles[allItems.indexOf(item)]
})
// add new popup menu
const popupMenu = new Form.Field.Option('menuItem', 'Results', searchResults, resultTitles.map(title => lib.truncateString(title, 70)), searchResults[0], null)
const popupMenu = new Form.Field.Option('menuItem', 'Results', searchResults, resultTitles.map(title => lib.truncateString(title, 150)), searchResults[0], null)
form.addField(popupMenu, 1)
return false
}
Expand Down

0 comments on commit 0fa4e4e

Please sign in to comment.