mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-27 22:37:15 +00:00
Always show start date and time in finished races list
This commit is contained in:
1 parent
6a72e564fc
commit
ef1841faf4
1 file changed
+5
-1
+5
-1
@@ -283,7 +283,11 @@ public class RegattaRacesTabView extends Composite implements RegattaTabView<Reg
|
||||
boolean hasFleets = RaceListDataUtil.hasFleets(data);
|
||||
this.fleetCornerColumn.setShowDetails(hasFleets);
|
||||
this.fleetNameColumn.setShowDetails(hasFleets);
|
||||
this.startTimeColumn.setShowTimeOnly(!RaceListDataUtil.hasDifferentStartDates(data));
|
||||
// Imagine a long running event (several days) where only one race has taken place.
|
||||
// Actually, you can't find out the date of this race, only its start time.
|
||||
// Therefore, start date and time is shown, as long as there's now grouping feature.
|
||||
// TODO: this.startTimeColumn.setShowTimeOnly(!RaceListDataUtil.hasDifferentStartDates(data));
|
||||
this.startTimeColumn.setShowTimeOnly(false);
|
||||
this.durationColumn.setShowDetails(RaceListDataUtil.hasDurations(data));
|
||||
boolean hasWind = RaceListDataUtil.hasWind(data);
|
||||
this.windSpeedColumn.setShowDetails(hasWind);
|
||||
|
||||
Reference in new issue
Block a user