Skip to content

Commit

Permalink
fix(plugin-recent): Filter by name, not URI
Browse files Browse the repository at this point in the history
  • Loading branch information
mmstick committed Dec 29, 2020
1 parent 27e79aa commit c533b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/recent/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class App {
const normalized = input.toLowerCase()

this.results = items
.filter(item => item.display_name.toLowerCase().includes(normalized) || item.uri.toLowerCase().includes(normalized))
.filter(item => item.display_name.toLowerCase().includes(normalized))
.sort((a, b) => a.display_name.localeCompare(b.display_name))
.slice(0, 9)

Expand Down

0 comments on commit c533b20

Please sign in to comment.