Skip to content

Commit 220b2b8

Browse files
authored
[UX] Ignore DLCs when calculating available alphabet filter letters (#4839)
1 parent ed1a0ab commit 220b2b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/frontend/screens/Library/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,8 @@ export default React.memo(function Library(): JSX.Element {
418418
favouritesIds.includes(`${game.app_name}_${game.runner}`)
419419
)
420420
} else {
421+
library = library.filter((game) => !game.install.is_dlc)
422+
421423
if (currentCustomCategories && currentCustomCategories.length > 0) {
422424
const gamesInSelectedCategories = new Set<string>()
423425

0 commit comments

Comments
 (0)