mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-15 08:41:01 +00:00
Added TODOs
This commit is contained in:
1 parent
ee46f44ebd
commit
0c7db73839
2 files changed
+2
No files matched your search
+1
@@ -93,6 +93,7 @@ public class HomePlacesNavigator extends AbstractPlaceNavigator {
|
||||
return createPlaceNavigation(baseUrl, isOnRemoteServer, regattaPlace, new RegattaLeaderboardPlace.Tokenizer());
|
||||
}
|
||||
|
||||
// TODO replace with the new places / remove when the code that calls this is gone
|
||||
/** this place will be merged into the common series event view as tab later on */
|
||||
public PlaceNavigation<SeriesPlace> getSeriesAnalyticsNavigation(String eventUuidAsString, SeriesNavigationTabs navigationTab, String leaderboardIdAsNameString, String baseUrl, boolean isOnRemoteServer) {
|
||||
SeriesPlace seriesPlace = new SeriesPlace(eventUuidAsString, navigationTab, leaderboardIdAsNameString, true, true);
|
||||
|
||||
+1
@@ -148,6 +148,7 @@ public class EventActivityProxy extends AbstractActivityProxy {
|
||||
* If not, the place is automatically being adjusted.
|
||||
*/
|
||||
private AbstractEventPlace verifyAndAdjustPlace() {
|
||||
// TODO check if regatta ID is valid
|
||||
if(place instanceof AbstractMultiregattaEventPlace && ctx.getEventDTO().getType() != EventType.MULTI_REGATTA) {
|
||||
EventContext ctxToUse = new EventContext(ctx).withRegattaId(null);
|
||||
if(place instanceof MultiregattaRegattasPlace) {
|
||||
|
||||
Reference in new issue
Block a user