Skip to content

Commit

Permalink
fix: don't ignore numbers when using customFavoriteThumbnails
Browse files Browse the repository at this point in the history
  • Loading branch information
punxaphil committed Dec 23, 2024
1 parent 7f1ffc9 commit 4ec23cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/media-browser-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function getThumbnail(mediaItem: MediaPlayerItem, config: CardConfig, itemsWithI
}

function removeSpecialChars(str: string) {
return str.replace(/[^a-zA-Z ]/g, '');
return str.replace(/[^a-zA-Z0-9 ]/g, '');
}

export function indexOfWithoutSpecialChars(array: string[], str: string) {
Expand Down

0 comments on commit 4ec23cc

Please sign in to comment.