From f64901f54ec95858c17f20c1b506e9b37657e379 Mon Sep 17 00:00:00 2001 From: Augustin Hiebel Date: Wed, 6 Dec 2023 16:07:06 +0100 Subject: [PATCH] Prototype: claim guide on game picker --- pages/stryda/components/GamePicker.js | 3 +++ pages/stryda/ladders/index.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/stryda/components/GamePicker.js b/pages/stryda/components/GamePicker.js index 3e4e6477..01d636aa 100644 --- a/pages/stryda/components/GamePicker.js +++ b/pages/stryda/components/GamePicker.js @@ -32,6 +32,9 @@ export default function GamePicker(props) { {item.shortName} + {item.id === 1 && ( + + )} ))} diff --git a/pages/stryda/ladders/index.js b/pages/stryda/ladders/index.js index 28fe5b99..28de52ca 100644 --- a/pages/stryda/ladders/index.js +++ b/pages/stryda/ladders/index.js @@ -109,7 +109,7 @@ export default function Ladders() { selectedTab === item.url ? "is-active" : "" }`} > - {item.label} {item.badge && item.badge === "badge" && ()} + {item.label} {item.badge && item.badge === "badge" && selectedGame.id === 1 && ()}