mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-08 22:59:52 +03:00
Display cools in pop'n judgecell
This commit is contained in:
@@ -9,13 +9,19 @@ export default function PopnJudgementCell({
|
||||
}) {
|
||||
const judgements = score.scoreData.judgements;
|
||||
|
||||
if (IsNullish(judgements.bad) || IsNullish(judgements.great) || IsNullish(judgements.good)) {
|
||||
if (
|
||||
IsNullish(judgements.bad) ||
|
||||
IsNullish(judgements.great) ||
|
||||
IsNullish(judgements.good) ||
|
||||
IsNullish(judgements.cool)
|
||||
) {
|
||||
return <td>No Data.</td>;
|
||||
}
|
||||
|
||||
return (
|
||||
<td>
|
||||
<strong>
|
||||
<span style={{ color: COLOUR_SET.purple }}>{judgements.cool}</span>-
|
||||
<span style={{ color: COLOUR_SET.gold }}>{judgements.great}</span>-
|
||||
<span style={{ color: COLOUR_SET.red }}>{judgements.good}</span>-
|
||||
<span style={{ color: COLOUR_SET.blue }}>{judgements.bad}</span>
|
||||
|
||||
Reference in New Issue
Block a user