From 82a1f634bdf5a3e8280fbefc905107f4d7c2f071 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Mon, 2 May 2022 02:49:40 +0100 Subject: [PATCH] fix: misc dan_gauge cleanup --- client/src/components/charts/IIDXLampChart.tsx | 2 +- .../components/IIDXScoreDropdownParts.tsx | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/client/src/components/charts/IIDXLampChart.tsx b/client/src/components/charts/IIDXLampChart.tsx index 976a2f735..63d8ca761 100644 --- a/client/src/components/charts/IIDXLampChart.tsx +++ b/client/src/components/charts/IIDXLampChart.tsx @@ -36,7 +36,7 @@ export default function IIDXLampChart({ } & ResponsiveLine["props"]) { let realData = []; - if (type === "HARD" || type === "EX_HARD") { + if (type === "HARD" || type === "EX_HARD" || type === "DAN_GAUGE") { realData = data; } else { const failSet = []; diff --git a/client/src/components/tables/dropdowns/components/IIDXScoreDropdownParts.tsx b/client/src/components/tables/dropdowns/components/IIDXScoreDropdownParts.tsx index ec362e551..210d2566d 100644 --- a/client/src/components/tables/dropdowns/components/IIDXScoreDropdownParts.tsx +++ b/client/src/components/tables/dropdowns/components/IIDXScoreDropdownParts.tsx @@ -73,6 +73,16 @@ export function IIDXGraphsComponent({ <>