From 0800a58966b9b9841b696e744de1da5f3b152d4c Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sat, 19 Aug 2023 10:33:56 +0300 Subject: [PATCH] Seasons: Show text if no reported weapons yet --- app/routes/u.$identifier/seasons.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/routes/u.$identifier/seasons.tsx b/app/routes/u.$identifier/seasons.tsx index 35472f3ed..96488540d 100644 --- a/app/routes/u.$identifier/seasons.tsx +++ b/app/routes/u.$identifier/seasons.tsx @@ -275,6 +275,11 @@ function Weapons({ return (
+ {weapons.length === 0 ? ( +
+ No reported weapons yet +
+ ) : null} {slicedWeapons.map(({ count, weaponSplId }) => (