mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
Making autocomplete case-insensitive for built-in commands #587
This commit is contained in:
parent
76f4cb6dbd
commit
9d0ea33059
@ -257,7 +257,7 @@ export class AutoCompleteService {
|
||||
}
|
||||
}
|
||||
return this.keywords
|
||||
.filter((key) => key.startsWith(text.current))
|
||||
.filter((key) => key.startsWith(text.current.toLowerCase()))
|
||||
.map((key) => ({
|
||||
text: key,
|
||||
queryHint: key,
|
||||
|
Loading…
Reference in New Issue
Block a user