1
0
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:
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 return this.keywords
.filter((key) => key.startsWith(text.current)) .filter((key) => key.startsWith(text.current.toLowerCase()))
.map((key) => ({ .map((key) => ({
text: key, text: key,
queryHint: key, queryHint: key,