From c273c56122121e7e131c24597a500be07e0e22ef Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Fri, 7 Nov 2025 21:26:49 -0800 Subject: around: move dance around clear status to use full mainstat row --- .../components/displays/DancearoundScoreDisplay.tsx | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'frontend/src/components/displays/DancearoundScoreDisplay.tsx') diff --git a/frontend/src/components/displays/DancearoundScoreDisplay.tsx b/frontend/src/components/displays/DancearoundScoreDisplay.tsx index b426d96..6925dd0 100644 --- a/frontend/src/components/displays/DancearoundScoreDisplay.tsx +++ b/frontend/src/components/displays/DancearoundScoreDisplay.tsx @@ -33,7 +33,6 @@ const DancearoundScoreDisplay: React.FC = ({ good: "Good", bad: "Bad", username: "Username", - clear_status: "Status" }; const mainStatKeys = [ @@ -42,7 +41,7 @@ const DancearoundScoreDisplay: React.FC = ({ "level", "lamp", ]; - const expandableKeys = ["judgements", "optional", "clear_status"]; + const expandableKeys = ["judgements", "optional"]; // eslint-disable-next-line @typescript-eslint/no-explicit-any const formatValue = (value: any, key: string): string => { if (value === null || value === undefined) return "N/A"; @@ -295,6 +294,21 @@ const DancearoundScoreDisplay: React.FC = ({ )} + {/* Clear Status */} + {score.clear_status && ( +
+
+

+ Clear Status +

+
+ {renderValue(score.clear_status, "clear_status")} +
+
+
+ )} + + {/* Expandable sections (judgements, optional) */} {expandable.map(([key, value]) => (
-- cgit v1.2.3