From 83d257ffe3d6cecf0afd995ecd3b9ebbb844ffd9 Mon Sep 17 00:00:00 2001 From: hjpalpha Date: Mon, 16 Dec 2024 15:31:07 +0100 Subject: [PATCH] as per review use MatchSummaryFfa.schedule in all customs --- components/match2/wikis/apexlegends/match_summary_ffa.lua | 2 +- components/match2/wikis/arenafps/match_summary_ffa.lua | 2 +- components/match2/wikis/autochess/match_summary_ffa.lua | 2 +- components/match2/wikis/callofduty/match_summary_ffa.lua | 2 +- components/match2/wikis/fortnite/match_summary_ffa.lua | 2 +- components/match2/wikis/freefire/match_summary_ffa.lua | 2 +- components/match2/wikis/halo/match_summary_ffa.lua | 2 +- components/match2/wikis/naraka/match_summary_ffa.lua | 2 +- components/match2/wikis/pubg/match_summary_ffa.lua | 2 +- components/match2/wikis/pubgmobile/match_summary_ffa.lua | 2 +- components/match2/wikis/tft/match_summary_ffa.lua | 2 +- components/match2/wikis/underlords/match_summary_ffa.lua | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/components/match2/wikis/apexlegends/match_summary_ffa.lua b/components/match2/wikis/apexlegends/match_summary_ffa.lua index 1cd5c98a4e..6f3e20e501 100644 --- a/components/match2/wikis/apexlegends/match_summary_ffa.lua +++ b/components/match2/wikis/apexlegends/match_summary_ffa.lua @@ -33,7 +33,7 @@ function CustomMatchSummary.getByMatchId(props) matchId = match.matchId, idx = 0, children = { - MatchSummaryWidgets.GamesSchedule{games = match.games}, + SummaryHelper.schedule(match), MatchSummaryWidgets.PointsDistribution{scores = scoringData}, SummaryHelper.standardMatch(match), } diff --git a/components/match2/wikis/arenafps/match_summary_ffa.lua b/components/match2/wikis/arenafps/match_summary_ffa.lua index 773b9d3d41..9f080b60ba 100644 --- a/components/match2/wikis/arenafps/match_summary_ffa.lua +++ b/components/match2/wikis/arenafps/match_summary_ffa.lua @@ -33,7 +33,7 @@ function CustomMatchSummary.getByMatchId(props) matchId = match.matchId, idx = 0, children = { - MatchSummaryWidgets.GamesSchedule{games = match.games}, + SummaryHelper.schedule(match), MatchSummaryWidgets.PointsDistribution{scores = scoringData}, SummaryHelper.standardMatch(match), } diff --git a/components/match2/wikis/autochess/match_summary_ffa.lua b/components/match2/wikis/autochess/match_summary_ffa.lua index 1ee274b2d0..fd5daf4d47 100644 --- a/components/match2/wikis/autochess/match_summary_ffa.lua +++ b/components/match2/wikis/autochess/match_summary_ffa.lua @@ -33,7 +33,7 @@ function CustomMatchSummary.getByMatchId(props) matchId = match.matchId, idx = 0, children = { - MatchSummaryWidgets.GamesSchedule{games = match.games}, + SummaryHelper.schedule(match), MatchSummaryWidgets.PointsDistribution{scores = scoringData}, SummaryHelper.standardMatch(match), } diff --git a/components/match2/wikis/callofduty/match_summary_ffa.lua b/components/match2/wikis/callofduty/match_summary_ffa.lua index 402023ac24..4db687a327 100644 --- a/components/match2/wikis/callofduty/match_summary_ffa.lua +++ b/components/match2/wikis/callofduty/match_summary_ffa.lua @@ -33,7 +33,7 @@ function CustomMatchSummary.getByMatchId(props) matchId = match.matchId, idx = 0, children = { - MatchSummaryWidgets.GamesSchedule{games = match.games}, + SummaryHelper.schedule(match), MatchSummaryWidgets.PointsDistribution{scores = scoringData}, SummaryHelper.standardMatch(match), } diff --git a/components/match2/wikis/fortnite/match_summary_ffa.lua b/components/match2/wikis/fortnite/match_summary_ffa.lua index c365ee0b44..c6d8e62c8b 100644 --- a/components/match2/wikis/fortnite/match_summary_ffa.lua +++ b/components/match2/wikis/fortnite/match_summary_ffa.lua @@ -33,7 +33,7 @@ function CustomMatchSummary.getByMatchId(props) matchId = match.matchId, idx = 0, children = { - MatchSummaryWidgets.GamesSchedule{games = match.games}, + SummaryHelper.schedule(match), MatchSummaryWidgets.PointsDistribution{scores = scoringData}, SummaryHelper.standardMatch(match), } diff --git a/components/match2/wikis/freefire/match_summary_ffa.lua b/components/match2/wikis/freefire/match_summary_ffa.lua index 8198aa2174..62d68f90c7 100644 --- a/components/match2/wikis/freefire/match_summary_ffa.lua +++ b/components/match2/wikis/freefire/match_summary_ffa.lua @@ -33,7 +33,7 @@ function CustomMatchSummary.getByMatchId(props) matchId = match.matchId, idx = 0, children = { - MatchSummaryWidgets.GamesSchedule{games = match.games}, + SummaryHelper.schedule(match), MatchSummaryWidgets.PointsDistribution{scores = scoringData}, SummaryHelper.standardMatch(match), } diff --git a/components/match2/wikis/halo/match_summary_ffa.lua b/components/match2/wikis/halo/match_summary_ffa.lua index b3a0773bb6..8e8a820f34 100644 --- a/components/match2/wikis/halo/match_summary_ffa.lua +++ b/components/match2/wikis/halo/match_summary_ffa.lua @@ -33,7 +33,7 @@ function CustomMatchSummary.getByMatchId(props) matchId = match.matchId, idx = 0, children = { - MatchSummaryWidgets.GamesSchedule{games = match.games}, + SummaryHelper.schedule(match), MatchSummaryWidgets.PointsDistribution{scores = scoringData}, SummaryHelper.standardMatch(match), } diff --git a/components/match2/wikis/naraka/match_summary_ffa.lua b/components/match2/wikis/naraka/match_summary_ffa.lua index e29818df9c..6daacb88e7 100644 --- a/components/match2/wikis/naraka/match_summary_ffa.lua +++ b/components/match2/wikis/naraka/match_summary_ffa.lua @@ -33,7 +33,7 @@ function CustomMatchSummary.getByMatchId(props) matchId = match.matchId, idx = 0, children = { - MatchSummaryWidgets.GamesSchedule{games = match.games}, + SummaryHelper.schedule(match), MatchSummaryWidgets.PointsDistribution{scores = scoringData}, SummaryHelper.standardMatch(match), } diff --git a/components/match2/wikis/pubg/match_summary_ffa.lua b/components/match2/wikis/pubg/match_summary_ffa.lua index 2fd9a40021..921048acc9 100644 --- a/components/match2/wikis/pubg/match_summary_ffa.lua +++ b/components/match2/wikis/pubg/match_summary_ffa.lua @@ -33,7 +33,7 @@ function CustomMatchSummary.getByMatchId(props) matchId = match.matchId, idx = 0, children = { - MatchSummaryWidgets.GamesSchedule{games = match.games}, + SummaryHelper.schedule(match), MatchSummaryWidgets.PointsDistribution{scores = scoringData}, SummaryHelper.standardMatch(match), } diff --git a/components/match2/wikis/pubgmobile/match_summary_ffa.lua b/components/match2/wikis/pubgmobile/match_summary_ffa.lua index ddc7a14820..c8c347628d 100644 --- a/components/match2/wikis/pubgmobile/match_summary_ffa.lua +++ b/components/match2/wikis/pubgmobile/match_summary_ffa.lua @@ -33,7 +33,7 @@ function CustomMatchSummary.getByMatchId(props) matchId = match.matchId, idx = 0, children = { - MatchSummaryWidgets.GamesSchedule{games = match.games}, + SummaryHelper.schedule(match), MatchSummaryWidgets.PointsDistribution{scores = scoringData}, SummaryHelper.standardMatch(match), } diff --git a/components/match2/wikis/tft/match_summary_ffa.lua b/components/match2/wikis/tft/match_summary_ffa.lua index 580f915ec2..0e95d53bad 100644 --- a/components/match2/wikis/tft/match_summary_ffa.lua +++ b/components/match2/wikis/tft/match_summary_ffa.lua @@ -33,7 +33,7 @@ function CustomMatchSummary.getByMatchId(props) matchId = match.matchId, idx = 0, children = { - MatchSummaryWidgets.GamesSchedule{games = match.games}, + SummaryHelper.schedule(match), MatchSummaryWidgets.PointsDistribution{scores = scoringData}, SummaryHelper.standardMatch(match), } diff --git a/components/match2/wikis/underlords/match_summary_ffa.lua b/components/match2/wikis/underlords/match_summary_ffa.lua index 675474773c..65d9a74620 100644 --- a/components/match2/wikis/underlords/match_summary_ffa.lua +++ b/components/match2/wikis/underlords/match_summary_ffa.lua @@ -33,7 +33,7 @@ function CustomMatchSummary.getByMatchId(props) matchId = match.matchId, idx = 0, children = { - MatchSummaryWidgets.GamesSchedule{games = match.games}, + SummaryHelper.schedule(match), MatchSummaryWidgets.PointsDistribution{scores = scoringData}, SummaryHelper.standardMatch(match), }