diff --git a/lua/wikis/counterstrike/Infobox/League/Custom.lua b/lua/wikis/counterstrike/Infobox/League/Custom.lua index 4fdf3fb79b7..a0aa775aa81 100644 --- a/lua/wikis/counterstrike/Infobox/League/Custom.lua +++ b/lua/wikis/counterstrike/Infobox/League/Custom.lua @@ -392,7 +392,8 @@ end ---@return Widget[]? function CustomLeague:_createValveTierCell() if self.valveTier then - local showInfoIcon = self.data.endDate >= VALVE_TOR_START_DATE + local showInfoIcon = self.data.endDate + and self.data.endDate >= VALVE_TOR_START_DATE and Array.find(VALVE_TOR_ENABLED_TIERS, FnUtil.curry(Operator.eq, self.valveTier)) return WidgetUtil.collect( Link{