1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-23 01:27:14 +02:00

Making autocomplete case-insensitive for built-in commands #587

This commit is contained in:
Patrik J. Braun 2023-03-23 22:57:26 +01:00
parent 76f4cb6dbd
commit 9d0ea33059

View File

@ -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,