From b44418c4cbe0c735ed7d96f6dbba90f770703f4b Mon Sep 17 00:00:00 2001 From: Roman Borovik <31778230+Starmordar@users.noreply.github.com> Date: Sat, 7 Oct 2023 19:48:50 +0300 Subject: [PATCH] Record rating display tweaks (#29) * Record rating display tweaks * fix label --- .../src/containers/Profile/PvpBrackets.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/frontend/src/containers/Profile/PvpBrackets.tsx b/frontend/src/containers/Profile/PvpBrackets.tsx index 1fd7c36e..086a2bd6 100644 --- a/frontend/src/containers/Profile/PvpBrackets.tsx +++ b/frontend/src/containers/Profile/PvpBrackets.tsx @@ -67,18 +67,20 @@ const PvpBracket = ({ )}
- {bracket?.season_max_rating && bracket.season_max_rating !== -1 ? ( + {bracket?.season_max_rating && + bracket.season_max_rating !== -1 && + bracket?.season_max_rating !== bracket?.max_rating ? (
Season - + {bracket.season_max_rating} - +
@@ -86,15 +88,15 @@ const PvpBracket = ({ {bracket?.max_rating && bracket.max_rating !== -1 ? (
- Highest - + Record + {bracket.max_rating} - +