Skip to content

Commit 4ec23cc

Browse files
committed
fix: don't ignore numbers when using customFavoriteThumbnails
1 parent 7f1ffc9 commit 4ec23cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/media-browser-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function getThumbnail(mediaItem: MediaPlayerItem, config: CardConfig, itemsWithI
3535
}
3636

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

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

0 commit comments

Comments
 (0)