Fix 0perfects bug in judgement cells

This commit is contained in:
zkldi
2022-03-11 15:06:20 +00:00
parent efd64ac344
commit e49522ddfb
4 changed files with 2 additions and 43 deletions
@@ -7,20 +7,6 @@ export default function CHUNITHMJudgementCell({
}: {
score: ScoreDocument<"chunithm:Single"> | PBScoreDocument<"chunithm:Single">;
}) {
// even if we dont have judgement data, we know what they got.
if (score.scoreData.lamp === "ALL JUSTICE CRITICAL") {
return (
<td>
<strong>
<span style={{ color: COLOUR_SET.gold }}>0</span>-
<span style={{ color: COLOUR_SET.orange }}>0</span>-
<span style={{ color: COLOUR_SET.green }}>0</span>-
<span style={{ color: COLOUR_SET.gray }}>0</span>
</strong>
</td>
);
}
const judgements = score.scoreData.judgements;
if (
@@ -7,21 +7,6 @@ export default function JubeatJudgementCell({
}: {
score: ScoreDocument<"jubeat:Single"> | PBScoreDocument<"jubeat:Single">;
}) {
// even if we dont have judgement data, we know what they got.
if (score.scoreData.lamp === "EXCELLENT") {
return (
<td>
<strong>
<span style={{ color: COLOUR_SET.pink }}>0</span>-
<span style={{ color: COLOUR_SET.gold }}>0</span>-
<span style={{ color: COLOUR_SET.blue }}>0</span>-
<span style={{ color: COLOUR_SET.purple }}>0</span>-
<span style={{ color: COLOUR_SET.red }}>0</span>
</strong>
</td>
);
}
const judgements = score.scoreData.judgements;
if (
@@ -7,20 +7,6 @@ export default function WaccaJudgementCell({
}: {
score: ScoreDocument<"wacca:Single"> | PBScoreDocument<"wacca:Single">;
}) {
// even if we dont have judgement data, we know what they got.
if (score.scoreData.lamp === "ALL MARVELOUS") {
return (
<td>
<strong>
<span style={{ color: COLOUR_SET.vibrantPink }}>0</span>-
<span style={{ color: COLOUR_SET.gold }}>0</span>-
<span style={{ color: COLOUR_SET.blue }}>0</span>-
<span style={{ color: COLOUR_SET.red }}>0</span>
</strong>
</td>
);
}
const judgements = score.scoreData.judgements;
if (
+2
View File
@@ -108,6 +108,8 @@ export const loggedInSplashes = [
"Let's see Paul Allen's score tracker.",
"You know there's more to shoegaze than just listening to loveless, right?",
"ok deraadt miod",
"What good are notebooks?",
"Ladies and Gentlemen We Are...",
];
// Stuff that's bad for the kids, you know?