Skip to content
Snippets Groups Projects
Commit fe7fa367 authored by Callum Gran's avatar Callum Gran
Browse files

Merge branch 'fix/jar-error-messages' into 'main'

fix(MatchOverviewController): jar error messages when changing scene

See merge request carljgu/tournament-service!136
parents 321c3690 f8278773
No related branches found
No related tags found
No related merge requests found
...@@ -105,7 +105,6 @@ public class MatchOverviewController implements Initializable { ...@@ -105,7 +105,6 @@ public class MatchOverviewController implements Initializable {
*/ */
public void updateMatchValues() { public void updateMatchValues() {
updateMatch(); updateMatch();
changeScene("Match-overview");
} }
...@@ -119,7 +118,7 @@ public class MatchOverviewController implements Initializable { ...@@ -119,7 +118,7 @@ public class MatchOverviewController implements Initializable {
matchDAO.updateMatch(getCurrentMatch()); matchDAO.updateMatch(getCurrentMatch());
getCurrentDivision().setMatches(matchDAO.getMatchesByDivision(getCurrentDivision().getDivisionId())); getCurrentDivision().setMatches(matchDAO.getMatchesByDivision(getCurrentDivision().getDivisionId()));
getCurrentDivision().setCompetingTeams(teamDAO.getTeamsByDivision(getCurrentDivision().getDivisionId())); getCurrentDivision().setCompetingTeams(teamDAO.getTeamsByDivision(getCurrentDivision().getDivisionId()));
changeScene("Match-overview"); changeScene("division-overview");
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment