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

Fix namesort in table

This commit is contained in:
Steffo 2024-11-05 18:02:33 +01:00
parent 281cd1ae14
commit 3fda5f933d
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ export function AnimeRow({anime, columns = animeRowColumnKindDefault, priority}:
case "namesort": { case "namesort": {
return ( return (
<td key={index} className={`review-namesort`} hidden={true}> <td key={index} className={`review-namesort`} hidden={true}>
<data value={anime.name ?? ""}/> <data value={anime.name_sort ?? anime.name ?? ""}/>
</td> </td>
) )
} }

View file

@ -65,7 +65,7 @@ export function GameRow({game, columns = gameRowColumnKindDefault, priority}: Ga
case "namesort": { case "namesort": {
return ( return (
<td key={index} className={`review-namesort`} hidden={true}> <td key={index} className={`review-namesort`} hidden={true}>
<data value={game.name ?? ""}/> <data value={game.name_sort ?? game.name ?? ""}/>
</td> </td>
) )
} }