mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-24 19:31:03 +00:00
fix: removed void and converted conditional to boolean
This commit is contained in:
@@ -81,7 +81,7 @@ export function SidebarGameItem({
|
||||
{getGameTitle(game)}
|
||||
</span>
|
||||
|
||||
{game.newDownloadOptionsCount && game.newDownloadOptionsCount > 0 && (
|
||||
{(game.newDownloadOptionsCount ?? 0) > 0 && (
|
||||
<span className="sidebar__game-badge">
|
||||
<div className="sidebar__game-badge-plus">+</div>
|
||||
<div className="sidebar__game-badge-count">
|
||||
|
||||
Reference in New Issue
Block a user