starshard/peafowl
Template
1
Fork 0
mirror of https://github.com/starshardstudio/peafowl.git synced 2024-11-21 20:44:19 +00:00

Fix content icon always displaying, even for reviews with no content

This commit is contained in:
Steffo 2024-07-04 05:44:33 +02:00
parent d55e06f388
commit bc006a7366
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -66,7 +66,7 @@ export function GameRow({game, columns = gameRowColumnKindDefault, priority}: Ga
return (
<td key={index} className={`review-hascontent`}>
<data value={game.content ? "true" : "false"}>
<i className={"fa-sharp fa-regular fa-bars-sort"}/>
{game.content && <i className={"fa-sharp fa-regular fa-bars-sort"}/>}
</data>
</td>
)