Skip to content

Commit

Permalink
feat: accept 1 length searches (considered as contract symbol searches)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicov-iov committed Nov 13, 2024
1 parent 3e0a0c8 commit cfbc18e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Search/SearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default {
},
onInput ({ event, value }) {
this.clearRequests()
if (!value || value.length < 2) return
if (!value) return
this.setValue(value)
this.fetchSearch({ value })
},
Expand Down

0 comments on commit cfbc18e

Please sign in to comment.