more-ui-adjustments #29

Merged
gpatti merged 4 commits from more-ui-adjustments into main 2026-04-18 04:38:34 +00:00
Showing only changes of commit 0ff3ed8ac9 - Show all commits

View File

@@ -150,7 +150,9 @@ export default function GamesView({ libraryId }: Props) {
}) })
const filtersActive = search !== '' || selectedTagIds.size > 0 const filtersActive = search !== '' || selectedTagIds.size > 0
const filteredGames = filtered.filter((i): i is Game => !('games' in i)) const filteredGames: Game[] = filtered.flatMap((item) =>
'games' in item ? item.games : [item as Game]
)
return ( return (
<> <>