mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-06 04:13:51 +00:00
RegattaOverview: Fleet name is displayed when it is not "Default"
This commit is contained in:
1 parent
09cd452bcf
commit
c7b50c8af2
1 file changed
+2
-1
+2
-1
@@ -251,9 +251,10 @@ public class RegattaOverviewTableComposite extends Composite {
|
||||
TextColumn<RegattaOverviewEntryDTO> fleetNameColumn = new TextColumn<RegattaOverviewEntryDTO>() {
|
||||
@Override
|
||||
public String getValue(RegattaOverviewEntryDTO entryDTO) {
|
||||
return entryDTO.raceInfo.fleet;
|
||||
return entryDTO.raceInfo.fleet.equals("Default") ? "-" : entryDTO.raceInfo.fleet;
|
||||
}
|
||||
};
|
||||
fleetNameColumn.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
|
||||
fleetNameColumn.setSortable(true);
|
||||
regattaOverviewListHandler.setComparator(fleetNameColumn, new Comparator<RegattaOverviewEntryDTO>() {
|
||||
|
||||
|
||||
Reference in new issue
Block a user