diff --git a/components/widget/match/summary/ffa/widget_match_summary_ffa_table_header.lua b/components/widget/match/summary/ffa/widget_match_summary_ffa_table_header.lua index ba9800739a..c9dc78726b 100644 --- a/components/widget/match/summary/ffa/widget_match_summary_ffa_table_header.lua +++ b/components/widget/match/summary/ffa/widget_match_summary_ffa_table_header.lua @@ -19,7 +19,7 @@ local MatchSummaryFfaTableHeader = Class.new(Widget) ---@return Widget function MatchSummaryFfaTableHeader:render() return HtmlWidgets.Div{ - classes = {'panel-table__row', 'row--header '}, + classes = {'panel-table__row', 'row--header'}, attributes = { ['data-js-battle-royale'] = 'header-row' }, diff --git a/spec/golden_masters/match2_matchlist_smoke_apexlegends.txt b/spec/golden_masters/match2_matchlist_smoke_apexlegends.txt index 86b09ab664..e8ff79291b 100644 --- a/spec/golden_masters/match2_matchlist_smoke_apexlegends.txt +++ b/spec/golden_masters/match2_matchlist_smoke_apexlegends.txt @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/spec/match2_spec.lua b/spec/match2_spec.lua index 41a7b862fd..fb3ec7f3bd 100644 --- a/spec/match2_spec.lua +++ b/spec/match2_spec.lua @@ -80,6 +80,21 @@ describe('match2', function() } }, } + }, + apexlegends = { + input = { + storeMatch1 = false, storePageVar = false, + matches = { + { + date = '2022-01-05', + comment = 'A Match Comment', + opponent1 = Json.stringify{name = 'A', link='abc', score = 3, type = 'solo'}, + opponent2 = Json.stringify{name = 'B', score = 2, type = 'solo'}, + opponent3 = Json.stringify{name = 'C', score = 4, type = 'solo'}, + opponent4 = Json.stringify{name = 'D', score = 1, type = 'solo'}, + } + }, + } } }) end)