diff --git a/Mundialito/Client/src/Games/Games.html b/Mundialito/Client/src/Games/Games.html
index d45e88d..7c254e2 100644
--- a/Mundialito/Client/src/Games/Games.html
+++ b/Mundialito/Client/src/Games/Games.html
@@ -4,10 +4,10 @@
-
+
diff --git a/Mundialito/Client/src/Games/GamesCtrl.js b/Mundialito/Client/src/Games/GamesCtrl.js
index 2218565..2f5ec0c 100644
--- a/Mundialito/Client/src/Games/GamesCtrl.js
+++ b/Mundialito/Client/src/Games/GamesCtrl.js
@@ -1,10 +1,17 @@
'use strict';
angular.module('mundialitoApp').controller('GamesCtrl', ['$scope','$log','GamesManager','games','teams', 'StadiumsManager' ,'Alert',function ($scope,$log, GamesManager, games, teams, StadiumsManager, Alert) {
$scope.newGame = null;
- $scope.gamesFilter = "All";
+ $scope.gamesFilter = "Open";
+ $scope.gamesToggle = false;
$scope.games = games;
$scope.teams = teams;
-
+ $scope.changed = () => {
+ if ($scope.gamesFilter === "Open") {
+ $scope.gamesFilter = "All"
+ } else {
+ $scope.gamesFilter = "Open"
+ }
+ }
StadiumsManager.loadAllStadiums().then(function (res) {
$scope.stadiums = res;
diff --git a/Mundialito/Views/Home/Index.cshtml b/Mundialito/Views/Home/Index.cshtml
index 4f9ce7f..99b8f52 100644
--- a/Mundialito/Views/Home/Index.cshtml
+++ b/Mundialito/Views/Home/Index.cshtml
@@ -145,11 +145,11 @@
@if (env.IsProduction())
{
-
+
}
else {
-
+
}