mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
Autocomplete exact matches again (#117)
* Fixed duplication kve bug * Autocomplete exact matches again
This commit is contained in:
parent
7f21ce37fb
commit
b887872478
@ -278,11 +278,6 @@ function matchSegments (listOfThings, segment, type, limit = -1) {
|
||||
const matchSegment = segment.toLowerCase();
|
||||
const matchName = name.toLowerCase();
|
||||
|
||||
// Throw away exact matches (why would we want to complete those?)
|
||||
if (matchName === matchSegment) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Throw away things that don't match
|
||||
if (!matchName.includes(matchSegment)) {
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user