-
{{item[0]}}
+
+ {{item[0]}}
+
+
+
+
{
+ const shortName = team.ShortName;
+ if (!acc[shortName]) {
+ acc[shortName] = [];
+ }
+ acc[shortName].push(team);
+ return acc;
+ }, {});
+ }
+ $scope.groupedTeams = groupTeamsByShortName(teams);
+
$scope.changed = (game) => {
if ($scope.toggleValue[game.GameId]) {
$scope.selectedDic[game.GameId] = $scope.marksDic[game.GameId];
diff --git a/Mundialito/Views/Home/Index.cshtml b/Mundialito/Views/Home/Index.cshtml
index fe89393..e3739d3 100644
--- a/Mundialito/Views/Home/Index.cshtml
+++ b/Mundialito/Views/Home/Index.cshtml
@@ -145,11 +145,11 @@
@if (env.IsProduction())
{
-
+
}
else {
-
+
}