Browse Source

match null proper update

master
GAM 4 years ago
parent
commit
9f4b2fb6ba
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      src/main/java/com/example/application/navigation/Navigation.java

+ 7
- 7
src/main/java/com/example/application/navigation/Navigation.java View File

@ -117,9 +117,9 @@ public class Navigation implements HasUrlParameter<String> {
this.seasonParam = seasonParam; this.seasonParam = seasonParam;
this.matchdayParam = matchdayParam; this.matchdayParam = matchdayParam;
this.matchParam = null; this.matchParam = null;
updateUrl();
runnablesToBeRunAfterSeasonSelection.forEach(Runnable::run);
} }
runnablesToBeRunAfterSeasonSelection.forEach(Runnable::run);
updateUrl();
}; };
} }
@ -131,10 +131,10 @@ public class Navigation implements HasUrlParameter<String> {
} else { } else {
matchdayParam = matchday.toString(); matchdayParam = matchday.toString();
fillMatchSelectWithData(matchday); fillMatchSelectWithData(matchday);
configureButtons();
matchSelect.setValue(null);
runnablesToBeRunAfterMatchdaySelection.forEach(Runnable::run);
} }
configureButtons();
matchSelect.setValue(null);
runnablesToBeRunAfterMatchdaySelection.forEach(Runnable::run);
updateUrl(); updateUrl();
}; };
} }
@ -146,9 +146,9 @@ public class Navigation implements HasUrlParameter<String> {
matchParam = null; matchParam = null;
} else { } else {
matchParam = match.toString(); matchParam = match.toString();
updateUrl();
runnablesToBeRunAfterMatchSelection.forEach(Runnable::run);
} }
runnablesToBeRunAfterMatchSelection.forEach(Runnable::run);
updateUrl();
}; };
} }


Loading…
Cancel
Save