Jumpbar Fix (#4089)

This commit is contained in:
Joe Milazzo 2025-10-12 08:10:41 -05:00 committed by GitHub
parent ab901e67c4
commit 1b27841736
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -107,7 +107,7 @@ export class JumpbarService {
data.forEach(obj => {
try {
let ch = keySelector(obj).charAt(0).toUpperCase();
if (/\d|\#|!|%|@|\(|\)|\^|\.|_|\*/g.test(ch)) {
if (!/[a-zA-Z]/.test(ch)) {
ch = '#';
}
if (!keys.hasOwnProperty(ch)) {