Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lua/wikis/counterstrike/Infobox/League/Custom.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
Loading